]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Now with added ANGRY MONKEYS.
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index 3af511419233a47a8396823426bc7a2c594685f7..80333ca8da3795e3e0a504a96eba62ec5c474c6e 100644 (file)
@@ -4,7 +4,7 @@
 
 /* $ModDesc: Provides support for the SETIDENT command */
 
-Server *Srv;
+static Server *Srv;
 
 class cmd_setident : public command_t
 {
@@ -12,9 +12,10 @@ class cmd_setident : public command_t
        cmd_setident() : command_t("SETIDENT", 'o', 1)
        {
                this->source = "m_setident.so";
+               syntax = "<new-ident>";
        }
 
-       void Handle(char **parameters, int pcnt, userrec *user)
+       void Handle(const char** parameters, int pcnt, userrec *user)
        {
                for(unsigned int x = 0; x < strlen(parameters[0]); x++)
                {