X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_gecosban.cpp;h=42830c660d6ce5a6a600c31b687fe6b0ca41e469;hb=95c1fb9bdd5f93cf4f8306a7b8ae9ca098aade1a;hp=0a868d347b0fb618f7963b72cdefdf0f2ac4dcb2;hpb=2d732f4dbf4ccd22c8a4424692cc72a89ffd49b7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp index 0a868d347..42830c660 100644 --- a/src/modules/m_gecosban.cpp +++ b/src/modules/m_gecosban.cpp @@ -17,9 +17,8 @@ class ModuleGecosBan : public Module { - private: public: - ModuleGecosBan(InspIRCd* Me) : Module(Me) + ModuleGecosBan() { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); @@ -50,6 +49,4 @@ class ModuleGecosBan : public Module } }; - MODULE_INIT(ModuleGecosBan) -