summaryrefslogtreecommitdiff
path: root/HanksRT.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
committerg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
commitac7e6b99beace1e002246436175581d01b02a117 (patch)
tree6f6113b3d9fbd62c94530619e2a827a708831976 /HanksRT.c
parent60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (diff)
6.0.23.6623.70
Diffstat (limited to 'HanksRT.c')
-rw-r--r--HanksRT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HanksRT.c b/HanksRT.c
index ab34b66..1e9330b 100644
--- a/HanksRT.c
+++ b/HanksRT.c
@@ -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)