diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 21:28:26 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 21:28:26 +0000 |
commit | d9c4b8d014c90dec0dc076d01fe874906dca9f95 (patch) | |
tree | a23c1beb30308b83d61a15f42211a3cc3a5ec68e /src/modules/m_banexception.cpp | |
parent | bb0d5b432568ff5fccb6bc734b1576b90280c722 (diff) |
Add missing Server::AddMode()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4252 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r-- | src/modules/m_banexception.cpp | 4 |
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) |