X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_cban.cpp;h=39a5d6266bbefcc0ce39aafa8ed8c83b10b53054;hb=b14ebbccf08ec34a73e1ba271e67da80d9fe805c;hp=d66a15f37cf68f3f177f51940179319a968e3125;hpb=54d10d53c730ab81ca6464fe2f0e0ecbcd435672;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index d66a15f37..39a5d6266 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -159,8 +159,6 @@ class ModuleCBan : public Module ServerInstance->XLines->RegisterFactory(&f); ServerInstance->Modules->AddService(mycommand); - Implementation eventlist[] = { I_OnUserPreJoin, I_OnStats }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } ~ModuleCBan()