- void LoadOperMOTD()
- {
- ConfigReader* conf = new ConfigReader(ServerInstance);
- std::string filename;
- filename = conf->ReadValue("opermotd","file",0);
- if (opermotd)
- {
- delete opermotd;
- opermotd = NULL;
- }
- opermotd = new FileReader(ServerInstance, filename);
- onoper = conf->ReadFlag("opermotd","onoper","yes",0);
- delete conf;
- }
-
- ModuleOpermotd(InspIRCd* Me)
- : Module(Me), cmd(this)