aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_disable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_disable.cpp')
-rw-r--r--src/modules/m_disable.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp
index c4d58d74d..d906ee39b 100644
--- a/src/modules/m_disable.cpp
+++ b/src/modules/m_disable.cpp
@@ -178,9 +178,8 @@ public:
// The user has tried to change a disabled mode!
const char* what = change.mh->GetModeType() == MODETYPE_CHANNEL ? "channel" : "user";
- WriteLog("{} was blocked from {}setting the disabled {} mode {} ({})",
- user->GetRealMask().c_str(), change.adding ? "" : "un",
- what, change.mh->GetModeChar(), change.mh->name.c_str());
+ WriteLog("{} was blocked from {}setting the disabled {} mode {} ({})", user->GetRealMask(),
+ change.adding ? "" : "un", what, change.mh->GetModeChar(), change.mh->name);
if (fakenonexistent)
{