diff options
| author | 2024-11-05 20:41:10 +0000 | |
|---|---|---|
| committer | 2024-11-05 20:41:10 +0000 | |
| commit | 1bd8c09194ffe002b5bdb3e622396513ecb98a89 (patch) | |
| tree | 0b98fa9b0b79463e6adb0b8007e5eed50d85255f /src | |
| parent | LLVM-GCC is long dead we don't need to mention it in the readme. (diff) | |
Avoid repeating the network name in whois.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_whois.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_botmode.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp index bc09c885a..e80cd9f2b 100644 --- a/src/coremods/core_whois.cpp +++ b/src/coremods/core_whois.cpp @@ -224,7 +224,7 @@ void CommandWhois::DoWhois(LocalUser* user, User* dest, time_t signon, unsigned if (genericoper) whois.SendLine(RPL_WHOISOPERATOR, dest->server->IsService() ? "is a network service" : "is a server operator"); else - whois.SendLine(RPL_WHOISOPERATOR, INSP_FORMAT("is {} {} on {}", (strchr("AEIOUaeiou", dest->oper->GetType()[0]) ? "an" : "a"), dest->oper->GetType(), ServerInstance->Config->Network)); + whois.SendLine(RPL_WHOISOPERATOR, INSP_FORMAT("is {} {}", (strchr("AEIOUaeiou", dest->oper->GetType()[0]) ? "an" : "a"), dest->oper->GetType())); } if (whois.IsSelfWhois() || user->HasPrivPermission("users/auspex")) diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index c2c1330ae..6db215886 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -112,7 +112,7 @@ public: { if (whois.GetTarget()->IsModeSet(bm)) { - whois.SendLine(RPL_WHOISBOT, "is a bot on " + ServerInstance->Config->Network); + whois.SendLine(RPL_WHOISBOT, "is a bot"); } } }; |
