diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 13:06:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 13:06:19 +0000 |
commit | 5fc34ac352c7c6bdd4019901d950981172b045aa (patch) | |
tree | 2696fd2f59ecac7338e455b6405e245d6f81642e /src | |
parent | cd89ac3c98e1b56f21215eec11fff386166b3d69 (diff) |
Fixed ping stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1492 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.cpp | 3 |
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 |