CommandDccallow cmd;
public:
- ModuleDCCAllow(InspIRCd* Me)
- : Module(Me), cmd(this)
+ ModuleDCCAllow()
+ : cmd(this)
{
- Conf = new ConfigReader(ServerInstance);
+ Conf = new ConfigReader;
ext = new SimpleExtItem<dccallowlist>("dccallow", this);
Extensible::Register(ext);
ServerInstance->AddCommand(&cmd);
virtual void OnRehash(User* user)
{
delete Conf;
- Conf = new ConfigReader(ServerInstance);
+ Conf = new ConfigReader;
ReadFileConf();
}
virtual Version GetVersion()
{
- return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
+ return Version("Povides support for the /DCCALLOW command", VF_COMMON | VF_VENDOR, API_VERSION);
}
};