diff options
| author | g8bpq <john.wiseman@cantab.net> | 2023-05-16 16:40:12 +0100 |
|---|---|---|
| committer | g8bpq <john.wiseman@cantab.net> | 2023-05-16 16:40:12 +0100 |
| commit | ac7e6b99beace1e002246436175581d01b02a117 (patch) | |
| tree | 6f6113b3d9fbd62c94530619e2a827a708831976 /HanksRT.c | |
| parent | 60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (diff) | |
6.0.23.6623.70
Diffstat (limited to 'HanksRT.c')
| -rw-r--r-- | HanksRT.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -775,7 +775,7 @@ VOID ProcessChatLine(ChatCIRCUIT * conn, struct UserInfo * user, char* OrigBuffe return;
}
- if (_memicmp(&Buffer[1], "History", cmdLen) == 0)
+ if (cmdLen > 1 && _memicmp(&Buffer[1], "History", cmdLen) == 0) // Accept Hi but not H
{
// Param is number of minutes to go back (max 24 hours)
|
