diff options
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r-- | src/modules/m_connectban.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index bb3fcbc46..09390bb07 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -67,6 +67,12 @@ class ModuleConnectBan { } + void Prioritize() CXX11_OVERRIDE + { + Module* corexline = ServerInstance->Modules->Find("core_xline"); + ServerInstance->Modules->SetPriority(this, I_OnSetUserIP, PRIORITY_AFTER, corexline); + } + Version GetVersion() CXX11_OVERRIDE { return Version("Z-lines IP addresses which make excessive connections to the server.", VF_VENDOR); |