diff options
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r-- | src/modules/m_uninvite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index 5159f218f..c7750a1e9 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -92,9 +92,9 @@ class ModuleUninvite : public Module public: - ModuleUninvite(Server* Me) : Module::Module(Me) + ModuleUninvite(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_uninvite(); Srv->AddCommand(mycommand); } @@ -122,7 +122,7 @@ class ModuleUninviteFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleUninvite(Me); } |