summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_user/core_user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_user/core_user.cpp b/src/coremods/core_user/core_user.cpp
index 2431215f3..622e82c75 100644
--- a/src/coremods/core_user/core_user.cpp
+++ b/src/coremods/core_user/core_user.cpp
@@ -83,7 +83,7 @@ class CommandPing : public SplitCommand
return CMD_FAILURE;
}
- ClientProtocol::Messages::Pong pong(parameters[0], origin ? parameters[1] : "");
+ ClientProtocol::Messages::Pong pong(parameters[0], origin ? parameters[1] : ServerInstance->Config->GetServerName());
user->Send(ServerInstance->GetRFCEvents().pong, pong);
return CMD_SUCCESS;
}