SimpleExtItem<BlockedMessage> blockamsg;
public:
- ModuleBlockAmsg(InspIRCd* Me) : Module(Me), blockamsg("blockamsg", this)
+ ModuleBlockAmsg() : blockamsg("blockamsg", this)
{
this->OnRehash(NULL);
Extensible::Register(&blockamsg);
virtual void OnRehash(User* user)
{
- ConfigReader Conf(ServerInstance);
+ ConfigReader Conf;
ForgetDelay = Conf.ReadInteger("blockamsg", "delay", 0, false);