]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Add m_sqlutils - Currently provides ID->chan/user lookups
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index 3af511419233a47a8396823426bc7a2c594685f7..12221edb092eb59e8ad16f94e1af29e68a684006 100644 (file)
@@ -4,7 +4,7 @@
 
 /* $ModDesc: Provides support for the SETIDENT command */
 
-Server *Srv;
+static Server *Srv;
 
 class cmd_setident : public command_t
 {
@@ -14,7 +14,7 @@ class cmd_setident : public command_t
                this->source = "m_setident.so";
        }
 
-       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++)
                {