summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_disable.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp
index f1b7872fb..7ba278149 100644
--- a/src/modules/m_disable.cpp
+++ b/src/modules/m_disable.cpp
@@ -163,8 +163,9 @@ class ModuleDisable : public Module
// The user has tried to change a disabled mode!
const char* what = mh->GetModeType() == MODETYPE_CHANNEL ? "channel" : "user";
- WriteLog("%s was blocked from executing the disabled %s mode %c (%s)",
- user->GetFullRealHost().c_str(), what, mh->GetModeChar(), mh->name.c_str());
+ WriteLog("%s was blocked from %ssetting the disabled %s mode %c (%s)",
+ user->GetFullRealHost().c_str(), adding ? "" : "un",
+ what, mh->GetModeChar(), mh->name.c_str());
if (fakenonexistent)
{