From d37773215ac095af0cdd1de5299ce854be2d661e Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 14:17:15 +0000 Subject: Moved include stack stuff to be private to ServerConfig git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mode.cpp') diff --git a/src/mode.cpp b/src/mode.cpp index 6e6270104..1e557dc25 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -49,8 +49,6 @@ using namespace std; extern int MODCOUNT; extern std::vector modules; extern std::vector factory; -extern std::vector module_names; - extern ServerConfig* Config; extern time_t TIME; @@ -1220,7 +1218,7 @@ bool process_module_umode(char umode, userrec* source, void* dest, bool adding) { if (modules[i]->OnExtendedMode(source,(void*)dest,umode,MT_CLIENT,adding,p)) { - log(DEBUG,"Module %s claims umode %c",module_names[i].c_str(),umode); + log(DEBUG,"Module %s claims umode %c",Config->module_names[i].c_str(),umode); return true; } } -- cgit v1.2.3