X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_seenicks.cpp;h=95872b5b27dba2af1dcb2bd068ff580721991f72;hb=692865acd58c9a475db1fdf4d419188325cd2182;hp=02c2621bbb9fc48d117838ba5a664bcee4d7c545;hpb=fcacc8e0306382bc3f938073092c3729d77e2b41;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_seenicks.cpp b/src/modules/m_seenicks.cpp index 02c2621bb..95872b5b2 100644 --- a/src/modules/m_seenicks.cpp +++ b/src/modules/m_seenicks.cpp @@ -21,7 +21,7 @@ #include "inspircd.h" -/* $ModDesc: Provides support for seeing local and remote nickchanges via snomasks */ +/* $ModDesc: Provides support for seeing local and remote nickchanges via snomasks 'n' and 'N'. */ class ModuleSeeNicks : public Module { @@ -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()