summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_banexception.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 062194d76..ba3a1b38a 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -30,10 +30,12 @@ class ModuleBanException : public Module
Server* Srv;
public:
- ModuleBanException(Server* serv) : Module(serv)
+ ModuleBanException(Server* serv)
+ : Module::Module(serv)
{
be = new BanException(serv);
Srv = serv;
+ Srv->AddMode(be, 'e');
}
virtual void Implements(char* List)