mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Fix incorrect forward-port of patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12308 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
d80ce25af8
commit
8a11f8ecdd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user