- nofollow = false;
-
- if(!ServerInstance->Modes->AddModeWatcher(&re))
- throw ModuleException("Could not add mode watcher");
-
- OnRehash(NULL);
-
- ServerInstance->Extensions.Register(&re.extItem);
- Implementation list[] = { I_OnRehash, I_OnUserPreJoin, I_OnChannelDelete };
- ServerInstance->Modules->Attach(list, this, 3);
- }
-
- virtual void OnChannelDelete(Channel* chan)
- {
- OnCleanup(TYPE_CHANNEL, chan);