X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_conn_join.cpp;h=fdcf82dccdd3a6066350bb52a012fa1c4c42cfe6;hb=67de413cad88194972d55a8ff88464370890c5a9;hp=bfac8147d76e2f66db164b3ef6af90078911cecc;hpb=8f27fefa75e2952e7ab8757eb9fe4af4586817f0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp index bfac8147d..fdcf82dcc 100644 --- a/src/modules/m_conn_join.cpp +++ b/src/modules/m_conn_join.cpp @@ -22,17 +22,9 @@ #include "inspircd.h" -/* $ModDesc: Forces users to join the specified channel(s) on connect */ - class ModuleConnJoin : public Module { public: - void init() CXX11_OVERRIDE - { - Implementation eventlist[] = { I_OnPostConnect }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); - } - void Prioritize() { ServerInstance->Modules->SetPriority(this, I_OnPostConnect, PRIORITY_LAST);