summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-09 21:29:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-09 21:29:39 +0000
commitea5109d6c54c9b4976e3887f0c4ecd81643b5d6f (patch)
treecb71e5ed54999184ccc9220477811f5219bd2747 /src/irc
parent82a3f10480c25ef673c13b0db1fe6bd80240f084 (diff)
downloadirssi-ea5109d6c54c9b4976e3887f0c4ecd81643b5d6f.zip
fix to ping/pong handling :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@823 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/proxy/listen.c2
1 files changed, 1 insertions, 1 deletions
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);