summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-13 20:46:34 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-13 20:46:34 +0000
commitb7477fc4d045442102d8e570aa3a4dd8bdcb75e6 (patch)
treea07fcf682d47a6d6e964b12e654db571b572e944 /src/modules/hs_request.c
parentfaed18f6e81c241b7d3ccc95d86ade44f46bd94f (diff)
Foward port of r2809
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r--src/modules/hs_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 84f19806c..018fc20be 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -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
{