aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-04-28 15:02:41 +0200
committerGravatar Attila Molnar2015-04-28 15:02:41 +0200
commit04eb0e182dec8518d1dfd15a09b8054d1501a4ef (patch)
treea09b319fffd5dd01a8ba88cddc8c8e3629472b3a /src/modules/m_swhois.cpp
parentm_servprotect Remove pointless compare of src and dst from OnWhoisLine handler (diff)
downloadinspircd++-04eb0e182dec8518d1dfd15a09b8054d1501a4ef.tar.gz
inspircd++-04eb0e182dec8518d1dfd15a09b8054d1501a4ef.tar.bz2
inspircd++-04eb0e182dec8518d1dfd15a09b8054d1501a4ef.zip
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.cpp2
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());
}
}