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);
}
virtual Version GetVersion()
{
- return Version("$Id$",VF_VENDOR,API_VERSION);
+ return Version("Provides masking of user hostnames via traditional /VHOST command",VF_VENDOR,API_VERSION);
}
};