summaryrefslogtreecommitdiff
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index cff56d4b1..af2dd2bb9 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -30,7 +30,7 @@ static ConfigReader *Conf;
class cmd_vhost : public command_t
{
public:
- cmd_vhost() : command_t("VHOST", 0, 2)
+ cmd_vhost (InspIRCd* Instance) : command_t(Instance,"VHOST", 0, 2)
{
this->source = "m_vhost.so";
syntax = "<username> <password>";
@@ -68,7 +68,7 @@ class ModuleVHost : public Module
{
Conf = new ConfigReader;
- mycommand = new cmd_vhost();
+ mycommand = new cmd_vhost(ServerInstance);
ServerInstance->AddCommand(mycommand);
}