diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-04-28 15:02:41 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-04-28 15:02:41 +0200 |
commit | 04eb0e182dec8518d1dfd15a09b8054d1501a4ef (patch) | |
tree | a09b319fffd5dd01a8ba88cddc8c8e3629472b3a /src/modules/m_swhois.cpp | |
parent | 39cafd84080182a381319927ed07f5db1ac8d928 (diff) |
Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 81abde6f7..ddc3726be 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -100,7 +100,7 @@ class ModuleSWhois : public Module std::string* swhois = cmd.swhois.get(dest); if (swhois) { - ServerInstance->SendWhoisLine(user, dest, 320, "%s :%s", dest->nick.c_str(), swhois->c_str()); + ServerInstance->SendWhoisLine(user, dest, 320, ":%s", swhois->c_str()); } } |