#include "inspircd.h"
-/* $ModDesc: Provides support for seeing local and remote nickchanges via snomasks 'n' and 'N'. */
-
class ModuleSeeNicks : public Module
{
public:
void init() CXX11_OVERRIDE
{
ServerInstance->SNO->EnableSnomask('n',"NICK");
- Implementation eventlist[] = { I_OnUserPostNick };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
Version GetVersion() CXX11_OVERRIDE
{
- return Version("Provides support for seeing local and remote nickchanges via snomasks", VF_VENDOR);
+ return Version("Provides snomasks 'n' and 'N' to see local and remote nickchanges", VF_VENDOR);
}
void OnUserPostNick(User* user, const std::string &oldnick) CXX11_OVERRIDE