diff options
| author | 2021-10-13 21:14:15 +0100 | |
|---|---|---|
| committer | 2021-10-13 21:14:15 +0100 | |
| commit | 037964ba960e53ae5dbd5ff4984c17eeac61c2ef (patch) | |
| tree | 120ef2eb1abe13fa963b30705ebe5e1aa2dd5abd /src/modules | |
| parent | Fix showing the address of a custom title instead of the title. (diff) | |
Use the OVERRIDE 005 token for showing the override user mode char.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_override.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 685c31fd2..f5408b8a2 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -111,7 +111,8 @@ class ModuleOverride : public Module void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE { - tokens["OVERRIDE"]; + if (UmodeEnabled) + tokens["OVERRIDE"] = ConvToStr(ou.GetModeChar()); } bool CanOverride(User* source, const char* token) |
