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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user