diff options
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r-- | src/modules/m_foobar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index 93b1848fe..cca4a6cbc 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -38,12 +38,12 @@ class ModuleFoobar : public Module Server *Srv; public: - ModuleFoobar(Server* Me) + ModuleFoobar(InspIRCd* Me) : Module::Module(Me) { // The constructor just makes a copy of the server class - Srv = Me; + } virtual ~ModuleFoobar() @@ -116,7 +116,7 @@ class ModuleFoobarFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleFoobar(Me); } |