diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-14 17:09:16 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-14 17:09:16 +0000 |
commit | 63d3e056b742598f48ba9a8df216b06117a37910 (patch) | |
tree | c1bca3105a9bffe8be14a0fd4c9f6ca4d837b711 /src/modules/m_connectban.cpp | |
parent | 7c8a2de390271eb39248e12c925238725504f74d (diff) |
Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r-- | src/modules/m_connectban.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index ae464a16c..4d5011575 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -97,7 +97,9 @@ class ModuleConnectBan : public Module else delete zl; - ServerInstance->SNO->WriteToSnoMask('x', "Connect flooding from IP range %s (%d)", u->GetCIDRMask(range), threshold); + ServerInstance->SNO->WriteGlobalSno('x',"Module m_connectban added Z:line on *@%s to expire on %s: Connect flooding", + u->GetCIDRMask(range), ServerInstance->TimeString(zl->expiry).c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "Connect flooding from IP range %s (%d)", u->GetCIDRMask(range), threshold); connects.erase(i); } } |