]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Updates, should be able to safely unload client modules with queries in progress...
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 7bc01e118934dbeaae4392af578f8d8dd8a0b33d..eb2196c92d7f7966d4ec6433bbb337491d23a171 100644 (file)
@@ -25,7 +25,7 @@ using namespace std;
 
 /* $ModDesc: Provides support for the SETHOST command */
 
-Server *Srv;
+static Server *Srv;
 
 class cmd_sethost : public command_t
 {
@@ -35,7 +35,7 @@ class cmd_sethost : public command_t
                this->source = "m_sethost.so";
        }
 
-       void Handle (char **parameters, int pcnt, userrec *user)
+       void Handle (const char** parameters, int pcnt, userrec *user)
        {
                if (strlen(parameters[0]) > 64)
                {