aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_disable.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-09 18:06:50 +0100
committerGravatar Sadie Powell2020-04-09 18:06:50 +0100
commite1ed9b275f465fbc235a23e416ba7626c7cba6cc (patch)
treea0cda4ca3cf14e2731ada5cd6fc890eb90e80731 /src/modules/m_disable.cpp
parentMerge branch 'insp3' into master. (diff)
parentSet the minimum length to 1 for most config items with a default. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_disable.cpp')
-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 50345323a..36c4783bf 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)
{