diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp index 871f8b125..d188f57f7 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -280,7 +280,7 @@ int isnick(const char* n) { return 0; } - if (strlen(n) > NICKMAX-1) + if (strlen(n) > NICKMAX) { return 0; } |