1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 00:16:39 +02:00

Foward port of r2809

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-03-13 20:46:34 +00:00
parent faed18f6e8
commit b7477fc4d0
+1 -1
View File
@@ -126,7 +126,7 @@ class CommandHSRequest : public Command
return MOD_CONT;
}
}
if (strlen(rawhostmask) < HOSTMAX - 1)
if (strlen(rawhostmask) < HOSTMAX)
snprintf(hostmask, HOSTMAX, "%s", rawhostmask);
else
{