X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_chancreate.cpp;h=60dbed10b39a231ef7a749a9b2a8a641bfa2db09;hb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;hp=833d6a774968e947a5a0eaa98f1eeb905953035e;hpb=272208502c426f5bb6abdb13b8986b686afbb904;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp index 833d6a774..60dbed10b 100644 --- a/src/modules/m_chancreate.cpp +++ b/src/modules/m_chancreate.cpp @@ -27,8 +27,8 @@ class ModuleChanCreate : public Module { private: public: - ModuleChanCreate() - { + void init() + { ServerInstance->SNO->EnableSnomask('j', "CHANCREATE"); Implementation eventlist[] = { I_OnUserJoin }; ServerInstance->Modules->Attach(eventlist, this, 1);