summaryrefslogtreecommitdiff
path: root/src/modules/m_noinvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r--src/modules/m_noinvite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 1481f5f03..ea4b246d7 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -62,9 +62,9 @@ class ModuleNoInvite : public Module
public:
- ModuleNoInvite(Server* Me) : Module::Module(Me)
+ ModuleNoInvite(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
ni = new NoInvite(ServerInstance);
Srv->AddMode(ni, 'V');
}
@@ -113,7 +113,7 @@ class ModuleNoInviteFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleNoInvite(Me);
}