From 04eb0e182dec8518d1dfd15a09b8054d1501a4ef Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 28 Apr 2015 15:02:41 +0200 Subject: Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine() --- src/modules/m_customtitle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_customtitle.cpp') diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 67eca6dda..6f9380506 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -89,7 +89,7 @@ class ModuleCustomTitle : public Module const std::string* ctitle = cmd.ctitle.get(dest); if (ctitle) { - ServerInstance->SendWhoisLine(user, dest, 320, "%s :%s", dest->nick.c_str(), ctitle->c_str()); + ServerInstance->SendWhoisLine(user, dest, 320, ":%s", ctitle->c_str()); } } /* Don't block anything */ -- cgit v1.3.1-10-gc9f91