diff options
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r-- | src/modules/m_tline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index 47f82200e..b35ad6d10 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -77,10 +77,10 @@ class ModuleTLine : public Module { cmd_tline* newcommand; public: - ModuleTLine(Server* Me) + ModuleTLine(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + newcommand = new cmd_tline(); Srv->AddCommand(newcommand); } @@ -111,7 +111,7 @@ class ModuleTLineFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleTLine(Me); } |