]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index dcba1287492b0e127dde1b66e4ca2ce132446de0..f1a074aec8aeb79f569c65c916658ba8547e3d57 100644 (file)
@@ -27,7 +27,7 @@ class CommandVhost : public Command
 
        CmdResult Handle (const std::vector<std::string> &parameters, User *user)
        {
-               ConfigReader *Conf = new ConfigReader(ServerInstance);
+               ConfigReader *Conf = new ConfigReader;
 
                for (int index = 0; index < Conf->Enumerate("vhost"); index++)
                {
@@ -60,7 +60,7 @@ class ModuleVHost : public Module
        CommandVhost cmd;
 
  public:
-       ModuleVHost(InspIRCd* Me) : Module(Me), cmd(this)
+       ModuleVHost() : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -72,7 +72,7 @@ class ModuleVHost : public Module
 
        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);
        }
 
 };