diff options
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index dd35f88a8..fc7ede256 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -30,7 +30,7 @@ extern InspIRCd* ServerInstance; class NoCTCP : public ModeHandler { public: - NoCTCP() : ModeHandler('C', 0, 0, false, MODETYPE_CHANNEL, false) { } + NoCTCP(InspIRCd* Instance) : ModeHandler(Instance, 'C', 0, 0, false, MODETYPE_CHANNEL, false) { } ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { @@ -66,7 +66,7 @@ class ModuleNoCTCP : public Module : Module::Module(Me) { Srv = Me; - nc = new NoCTCP(); + nc = new NoCTCP(ServerInstance); Srv->AddMode(nc, 'C'); } |