summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-27 03:09:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-27 03:09:45 +0000
commit8918c3fb8b8eab39e7d1d42d7bccfa444cfc3176 (patch)
treefc944faaa1873673f10e92a5fea962a402896f90 /src/message.cpp
parent181f534ea48812439c8f3c2bc8ef68c4bd2da0cc (diff)
Andy fucked up! :O
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3359 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 4f8e25bee..584d5a070 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -266,7 +266,7 @@ int isnick(const char* n)
{
return 0;
}
- if (strlen(n) > NICKMAX)
+ if (strlen(n) > NICKMAX-1)
{
return 0;
}