summaryrefslogtreecommitdiff
path: root/src/commands/cmd_whowas.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
commitf3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 (patch)
treea4c6114b60a5cc62cab420283f454c7cf830e561 /src/commands/cmd_whowas.cpp
parent074727e7a74f8dcef6c250faf6a757f0274d27db (diff)
Omit the server name internally when building a /STATS reply and prepend it later
Diffstat (limited to 'src/commands/cmd_whowas.cpp')
-rw-r--r--src/commands/cmd_whowas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_whowas.cpp b/src/commands/cmd_whowas.cpp
index 6a561907e..0a3a994a8 100644
--- a/src/commands/cmd_whowas.cpp
+++ b/src/commands/cmd_whowas.cpp
@@ -242,7 +242,7 @@ class ModuleWhoWas : public Module
ModResult OnStats(char symbol, User* user, string_list &results)
{
if (symbol == 'z')
- results.push_back(ServerInstance->Config->ServerName+" 249 "+user->nick+" :"+cmd.GetStats());
+ results.push_back("249 "+user->nick+" :"+cmd.GetStats());
return MOD_RES_PASSTHRU;
}