From 8918c3fb8b8eab39e7d1d42d7bccfa444cfc3176 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Feb 2006 03:09:45 +0000 Subject: Andy fucked up! :O git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3359 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3