- m1 = new User_d(ServerInstance);
- if (!ServerInstance->Modes->AddMode(m1))
- throw ModuleException("Could not add new modes!");
-
- OnRehash(NULL, "");
- Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnRehash, I_OnBuildExemptList };
- ServerInstance->Modules->Attach(eventlist, this, 4);