summaryrefslogtreecommitdiff
path: root/src/modules/m_nonotice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r--src/modules/m_nonotice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index 34c59db88..7ce1967fe 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -61,10 +61,10 @@ class ModuleNoNotice : public Module
NoNotice* nt;
public:
- ModuleNoNotice(Server* Me)
+ ModuleNoNotice(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
nt = new NoNotice(ServerInstance);
Srv->AddMode(nt, 'T');
}
@@ -124,7 +124,7 @@ class ModuleNoNoticeFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleNoNotice(Me);
}