summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 17:02:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 17:02:29 +0000
commit8a11f8ecddaaf6c8162d93a28d924fe0b566332c (patch)
tree5dca5839e4eee63ebe8a4039bacc6200d0fe620c
parentd80ce25af85d12fd97b77948439e0e2fe2caf0d5 (diff)
Fix incorrect forward-port of patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12308 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_connectban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp
index 9b45a2014..f9dc37b36 100644
--- a/src/modules/m_connectban.cpp
+++ b/src/modules/m_connectban.cpp
@@ -91,7 +91,7 @@ class ModuleConnectBan : public Module
if (i->second >= threshold)
{
// Create zline for set duration.
- ZLine* zl = new ZLine(ServerInstance->Time(), banduration, ServerInstance->Config->ServerName, "Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.", u->GetCIDRMask(range));
+ ZLine* zl = new ZLine(ServerInstance->Time(), banduration, ServerInstance->Config->ServerName, "Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.", mask.str());
if (ServerInstance->XLines->AddLine(zl,NULL))
ServerInstance->XLines->ApplyLines();
else