opermotd = NULL;
}
opermotd = new FileReader(ServerInstance, filename);
- DELETE(conf);
+ delete conf;
}
ModuleOpermotd(InspIRCd* Me)
ServerInstance->AddCommand(mycommand);
opermotd = new FileReader(ServerInstance);
LoadOperMOTD();
+ Implementation eventlist[] = { I_OnRehash, I_OnOper };
+ ServerInstance->Modules->Attach(eventlist, this, 2);
}
virtual ~ModuleOpermotd()