From b7477fc4d045442102d8e570aa3a4dd8bdcb75e6 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 13 Mar 2010 20:46:34 +0000 Subject: [PATCH] Foward port of r2809 git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2812 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/hs_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {