summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 8684cbe06..b5959eb89 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -2865,7 +2865,8 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve
// ?
// ping
case '?':
- reply->SendPacket("!",tcp_host);
+ snprintf(buffer,MAXBUF,":%s !",CreateSum(),tcp_host);
+ serv->SendPacket(buffer,tcp_host);
break;
// ?
// pong