]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setidle.cpp
Change includes, use --libs_r rather than mysql_config --libs, we want re-enterant...
[user/henk/code/inspircd.git] / src / modules / m_setidle.cpp
index fc8ad93472e20706b135241318b225d9b2d11db8..040625238032b28c15c2dc922691fa25c2a994c1 100644 (file)
@@ -25,7 +25,7 @@ using namespace std;
 
 /* $ModDesc: Allows opers to set their idle time */
 
-Server *Srv = NULL;
+static Server *Srv = NULL;
 
 class cmd_setidle : public command_t
 {
@@ -35,7 +35,7 @@ class cmd_setidle : public command_t
                this->source = "m_setidle.so";
        }
 
-       void Handle (char **parameters, int pcnt, userrec *user)
+       void Handle (const char** parameters, int pcnt, userrec *user)
        {
                if (atoi(parameters[0]) < 1)
                {