summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 10:51:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 10:51:18 +0000
commitd582107b33c3b154747a0a38f33963af7ad3c53f (patch)
tree7290c0dd5259f2416a3ccefb3dcffdb94d691029 /src/modules.cpp
parent44d3b5b82626f627069033c7bf019d4b1564b21c (diff)
Started moving of data into ServerConfig class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index ebd127556..5799289ef 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -50,55 +50,25 @@ using namespace std;
#include "socketengine.h"
extern SocketEngine* SE;
+extern ServerConfig *Config;
extern int MODCOUNT;
extern std::vector<Module*> modules;
extern std::vector<ircd_module*> factory;
-
extern std::vector<std::string> include_stack;
-
extern std::vector<InspSocket*> module_sockets;
extern time_t TIME;
-
-extern int LogLevel;
-extern char ServerName[MAXBUF];
-extern char Network[MAXBUF];
-extern char ServerDesc[MAXBUF];
-extern char AdminName[MAXBUF];
-extern char AdminEmail[MAXBUF];
-extern char AdminNick[MAXBUF];
-extern char diepass[MAXBUF];
-extern char restartpass[MAXBUF];
-extern char motd[MAXBUF];
-extern char rules[MAXBUF];
-extern char list[MAXBUF];
-extern char PrefixQuit[MAXBUF];
-extern char DieValue[MAXBUF];
-
-extern int debugging;
extern int WHOWAS_STALE;
extern int WHOWAS_MAX;
-extern int DieDelay;
extern time_t startup_time;
-extern int NetBufferSize;
-extern int MaxWhoResults;
-extern time_t nb_start;
-
extern std::vector<std::string> module_names;
-
extern int boundPortCount;
extern int portCount;
-
extern int ports[MAXSOCKS];
class Server;
extern std::stringstream config_f;
-
-
-
-extern FILE *log_file;
-
extern userrec* fd_ref_table[65536];
typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, irc::StrHashComp> user_hash;