- ModuleNoNickChange() : nn(this)
- {
- OnRehash(NULL);
- ServerInstance->Modes->AddMode(&nn);
- Implementation eventlist[] = { I_OnUserPreNick, I_On005Numeric, I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, 3);
- }
-
- virtual ~ModuleNoNickChange()
+ ModuleNoNickChange()
+ : exemptionprov(this)
+ , nn(this, "nonick", 'N')