CmdResult Handle (const std::vector<std::string> ¶meters, User *user)
{
- ConfigReader *Conf = new ConfigReader(ServerInstance);
+ ConfigReader *Conf = new ConfigReader;
for (int index = 0; index < Conf->Enumerate("vhost"); index++)
{
CommandVhost cmd;
public:
- ModuleVHost(InspIRCd* Me) : Module(Me), cmd(this)
+ ModuleVHost() : cmd(this)
{
ServerInstance->AddCommand(&cmd);
}