X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_seenicks.cpp;h=95872b5b27dba2af1dcb2bd068ff580721991f72;hb=a5d110282a864fd2e91b51ce360a977cd0643657;hp=297504e05d7e147f5bd46e5690ca289c2e6cebdd;hpb=a66b5a7b8f10a876970230cd087352d3bda5ef3e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_seenicks.cpp b/src/modules/m_seenicks.cpp index 297504e05..95872b5b2 100644 --- a/src/modules/m_seenicks.cpp +++ b/src/modules/m_seenicks.cpp @@ -30,7 +30,7 @@ class ModuleSeeNicks : public Module { ServerInstance->SNO->EnableSnomask('n',"NICK"); Implementation eventlist[] = { I_OnUserPostNick }; - ServerInstance->Modules->Attach(eventlist, this, 1); + ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } virtual Version GetVersion()