diff options
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 434043e46..f0963e4c1 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -332,6 +332,11 @@ class ModuleCgiIRC ServerInstance->SNO->EnableSnomask('w', "CGIIRC"); } + void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE + { + tokens["EXTBAN"].push_back('w'); + } + ModResult OnCheckBan(User* user, Channel*, const std::string& mask) CXX11_OVERRIDE { if (mask.length() <= 2 || mask[0] != 'w' || mask[1] != ':') |