summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
commit50460419e6f76eecd57dc72a4f2fcc88dc114a50 (patch)
treef0f521202f9274755b2e456163764360f1188937 /src/mode.cpp
parent765cdd25cb1e3ad1b38a11865a9730e65be4b4e6 (diff)
Fixed m_redirect.so which was claiming every mode that came its way!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@803 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index e7ed4badf..1f03a20bf 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -40,6 +40,8 @@ using namespace std;
extern int MODCOUNT;
extern vector<Module*> modules;
extern vector<ircd_module*> factory;
+extern std::vector<std::string> module_names;
+
extern int LogLevel;
extern char ServerName[MAXBUF];
@@ -1006,7 +1008,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 claims umode %c",umode);
+ log(DEBUG,"Module %s claims umode %c",module_names[i].c_str(),umode);
return true;
}
}