]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_randquote.cpp
Probably wont compile yet - purge_empty_channels refactor
[user/henk/code/inspircd.git] / src / modules / m_randquote.cpp
index 8ee07f242cc15a9a9c1bcf68e4d707cb5c3e802e..7dfd44da307499734a73abffe440211ee345bb8b 100644 (file)
@@ -24,8 +24,8 @@ using namespace std;
 #include "modules.h"
 #include "helperfuncs.h"
 
-Server *Srv;
-FileReader *quotes = NULL;
+static Server *Srv;
+static FileReader *quotes = NULL;
 
 std::string q_file = "";
 std::string prefix = "";
@@ -73,7 +73,7 @@ class RandquoteException : public ModuleException
        {
                return (char*)err.c_str();
        }
-}
+};
 
 class ModuleRandQuote : public Module
 {