diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 5cf042cda..aa1f02aab 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -63,53 +63,21 @@ 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 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 bool nofork; - extern time_t TIME; - extern std::vector<std::string> module_names; - -extern char MyExecutable[1024]; extern int boundPortCount; extern int portCount; - extern int ports[MAXSOCKS]; - extern std::stringstream config_f; - - -extern FILE *log_file; - extern ClassVector Classes; const long duration_m = 60; |