diff options
Diffstat (limited to 'src/modules/m_regonlycreate.cpp')
-rw-r--r-- | src/modules/m_regonlycreate.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp index 546d8235a..3354c1132 100644 --- a/src/modules/m_regonlycreate.cpp +++ b/src/modules/m_regonlycreate.cpp @@ -18,9 +18,8 @@ class ModuleRegOnlyCreate : public Module { public: - ModuleRegOnlyCreate(InspIRCd* Me) - : Module(Me) - { + ModuleRegOnlyCreate() + { Implementation eventlist[] = { I_OnUserPreJoin }; ServerInstance->Modules->Attach(eventlist, this, 1); } |