SimpleExtItem<BlockedMessage> blockamsg;
public:
- ModuleBlockAmsg(InspIRCd* Me) : Module(Me), blockamsg("blockamsg", this)
+ ModuleBlockAmsg() : blockamsg("blockamsg", this)
{
this->OnRehash(NULL);
Extensible::Register(&blockamsg);
virtual Version GetVersion()
{
- return Version("$Id$",VF_VENDOR,API_VERSION);
+ return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR,API_VERSION);
}
virtual void OnRehash(User* user)
{
- ConfigReader Conf(ServerInstance);
+ ConfigReader Conf;
ForgetDelay = Conf.ReadInteger("blockamsg", "delay", 0, false);