-
- ModuleOperLevels(InspIRCd* Me)
- : Module(Me)
- {
-
-
- conf = new ConfigReader(ServerInstance);
- Implementation eventlist[] = { I_OnRehash, I_OnKill };
- ServerInstance->Modules->Attach(eventlist, this, 2);
- }
-
- virtual ~ModuleOperLevels()
- {
- DELETE(conf);
- }
-
- void Implements(char* List)
- {
- List[I_OnRehash] = List[I_OnKill] = 1;
- }
-
- virtual void OnRehash(User* user, const std::string ¶meter)
- {
- DELETE(conf);
- conf = new ConfigReader(ServerInstance);
- }
-
- virtual Version GetVersion()