summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-24 13:06:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-24 13:06:19 +0000
commit5fc34ac352c7c6bdd4019901d950981172b045aa (patch)
tree2696fd2f59ecac7338e455b6405e245d6f81642e /src/commands.cpp
parentcd89ac3c98e1b56f21215eec11fff386166b3d69 (diff)
Fixed ping stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1492 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-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