X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_chancreate.cpp;h=4f9e4e80326b293cb7fd1fec881c5fc99e8e4504;hb=9cf381330eab69d7e5bf26684d1ec8075aee60a2;hp=35b1a98db333a54458d0e02313f4472b527c03cb;hpb=54d10d53c730ab81ca6464fe2f0e0ecbcd435672;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp index 35b1a98db..4f9e4e803 100644 --- a/src/modules/m_chancreate.cpp +++ b/src/modules/m_chancreate.cpp @@ -27,13 +27,11 @@ class ModuleChanCreate : public Module void init() CXX11_OVERRIDE { ServerInstance->SNO->EnableSnomask('j', "CHANCREATE"); - Implementation eventlist[] = { I_OnUserJoin }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } Version GetVersion() CXX11_OVERRIDE { - return Version("Provides snomasks 'j' and 'J', to which notices about newly created channels are sent",VF_VENDOR); + return Version("Provides snomasks 'j' and 'J', to which notices about newly created channels are sent", VF_VENDOR); } void OnUserJoin(Membership* memb, bool sync, bool created, CUList& except) CXX11_OVERRIDE