From 5fc34ac352c7c6bdd4019901d950981172b045aa Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 13:06:19 +0000 Subject: Fixed ping stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1492 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3