]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_vhost.cpp
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
[user/henk/code/inspircd.git] / src / modules / m_vhost.cpp
index f419772d4d0f2d90754ad274d9224294469565ad..a7ce8fd4ab07a040dda9c183dbb644f517cb78a2 100644 (file)
@@ -20,6 +20,7 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
+#include "inspircd.h"
 
 /* $ModDesc: Provides masking of user hostnames via traditional /VHOST command */
 
@@ -32,9 +33,10 @@ class cmd_vhost : public command_t
        cmd_vhost() : command_t("VHOST", 0, 2)
        {
                this->source = "m_vhost.so";
+               syntax = "<username> <password>";
        }
 
-       void Handle (char **parameters, int pcnt, userrec *user)
+       void Handle (const char** parameters, int pcnt, userrec *user)
        {
                for (int index = 0; index < Conf->Enumerate("vhost"); index++)
                {