diff options
| author | 2005-05-26 22:20:16 +0000 | |
|---|---|---|
| committer | 2005-05-26 22:20:16 +0000 | |
| commit | f49f4e3567908b4371f7d17d2c3b0e2adb76534a (patch) | |
| tree | a6693c319dcb73632781bb0811b23a894f5298ad /src/message.cpp | |
| parent | Fix for bug #70 (only first <disabled:commands> item working properly) (diff) | |
Changed representation of MAXNICK in isnick() to allow for a non-incremented size
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1530 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
| -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; } |
