]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Now with added ANGRY MONKEYS.
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 7244ba6def82365e11b254354620c4dc3f172f8f..9b403506d72589141070022a396233b81acb8277 100644 (file)
@@ -33,9 +33,10 @@ class cmd_sethost : public command_t
        cmd_sethost() : command_t("SETHOST",'o',1)
        {
                this->source = "m_sethost.so";
+               syntax = "<new-hostname>";
        }
 
-       void Handle (char **parameters, int pcnt, userrec *user)
+       void Handle (const char** parameters, int pcnt, userrec *user)
        {
                if (strlen(parameters[0]) > 64)
                {