summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 7b2a29f77..de62a2c7b 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -315,7 +315,9 @@ void InspIRCd::CheckRoot()
void InspIRCd::SendWhoisLine(User* user, User* dest, int numeric, const std::string &text)
{
- std::string copy_text = text;
+ std::string copy_text = dest->nick;
+ copy_text.push_back(' ');
+ copy_text.append(text);
ModResult MOD_RESULT;
FIRST_MOD_RESULT(OnWhoisLine, MOD_RESULT, (user, dest, numeric, copy_text));