]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setidle.cpp
Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.
[user/henk/code/inspircd.git] / src / modules / m_setidle.cpp
index c83c7e7e021eaf2f06e46849033d061a773a405b..2c09422df128f26710dd35cd6554ee2fcf24413d 100644 (file)
@@ -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);
        }