From ea5109d6c54c9b4976e3887f0c4ecd81643b5d6f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 9 Nov 2000 21:29:39 +0000 Subject: fix to ping/pong handling :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@823 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/proxy/listen.c') diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index 0aeb553c..d4c6fafa 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -144,7 +144,7 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args) } if (strcmp(cmd, "PING") == 0) { char *server = strchr(args, ':'); - if (server == NULL || strcmp(server, "proxy") == 0) { + if (server == NULL || strcmp(server+1, "proxy") == 0) { if (server != NULL) *server = '\0'; if (*args == '\0') args = client->nick; proxy_outdata(client, "PONG proxy :%s\n", args); -- cgit v1.2.3