diff options
Diffstat (limited to 'src/modules/m_setidle.cpp')
-rw-r--r-- | src/modules/m_setidle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp index c83c7e7e0..2c09422df 100644 --- a/src/modules/m_setidle.cpp +++ b/src/modules/m_setidle.cpp @@ -59,10 +59,10 @@ class ModuleSetIdle : public Module { cmd_setidle* mycommand; public: - ModuleSetIdle(Server* Me) + ModuleSetIdle(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_setidle(); Srv->AddCommand(mycommand); } @@ -91,7 +91,7 @@ class ModuleSetIdleFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSetIdle(Me); } |