summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 588c42b5e..0c56edd7e 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -23,7 +23,7 @@ extern InspIRCd* ServerInstance;
class BanException : public ListModeBase
{
public:
- BanException(Server* serv) : ListModeBase(serv, 'e', "End of Channel Exception List", "348", "349", true) { }
+ BanException(InspIRCd* Instance, Server* serv) : ListModeBase(Instance, serv, 'e', "End of Channel Exception List", "348", "349", true) { }
};
@@ -36,7 +36,7 @@ public:
ModuleBanException(Server* serv)
: Module::Module(serv)
{
- be = new BanException(serv);
+ be = new BanException(ServerInstance, serv);
Srv = serv;
Srv->AddMode(be, 'e');
}