diff options
| author | 2023-01-24 02:58:46 +0000 | |
|---|---|---|
| committer | 2023-01-24 02:58:46 +0000 | |
| commit | f310e1c98dc262249146025ffffb81334b38680d (patch) | |
| tree | edd19152137e71db58efc5fbd289f34ce9b6919b /src/modules/m_disable.cpp | |
| parent | Clean up some remaining old format string stuff. (diff) | |
Refactor the caching methods in User and rename to make more sense.
Diffstat (limited to 'src/modules/m_disable.cpp')
| -rw-r--r-- | src/modules/m_disable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index e791236f0..c4d58d74d 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -149,7 +149,7 @@ public: // The user has tried to execute a disabled command! user->CommandFloodPenalty += 2000; - WriteLog("{} was blocked from executing the disabled {} command", user->GetFullRealHost(), command); + WriteLog("{} was blocked from executing the disabled {} command", user->GetRealMask(), command); if (fakenonexistent) { @@ -179,7 +179,7 @@ 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->GetFullRealHost().c_str(), change.adding ? "" : "un", + user->GetRealMask().c_str(), change.adding ? "" : "un", what, change.mh->GetModeChar(), change.mh->name.c_str()); if (fakenonexistent) |
