summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
1 files changed, 1 insertions, 3 deletions
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<Module*> modules;
extern std::vector<ircd_module*> factory;
-extern std::vector<std::string> 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;
}
}