diff options
| author | 2015-04-28 15:02:41 +0200 | |
|---|---|---|
| committer | 2015-04-28 15:02:41 +0200 | |
| commit | 04eb0e182dec8518d1dfd15a09b8054d1501a4ef (patch) | |
| tree | a09b319fffd5dd01a8ba88cddc8c8e3629472b3a /src/modules/m_services_account.cpp | |
| parent | m_servprotect Remove pointless compare of src and dst from OnWhoisLine handler (diff) | |
Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()
Diffstat (limited to 'src/modules/m_services_account.cpp')
| -rw-r--r-- | src/modules/m_services_account.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 26a53b4d7..1af06846e 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -162,13 +162,13 @@ class ModuleServicesAccount : public Module if (account) { - ServerInstance->SendWhoisLine(source, dest, 330, "%s %s :is logged in as", dest->nick.c_str(), account->c_str()); + ServerInstance->SendWhoisLine(source, dest, 330, "%s :is logged in as", account->c_str()); } if (dest->IsModeSet(m5)) { /* user is registered */ - ServerInstance->SendWhoisLine(source, dest, 307, "%s :is a registered nick", dest->nick.c_str()); + ServerInstance->SendWhoisLine(source, dest, 307, ":is a registered nick"); } } |
