mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
fix to ping/pong handling :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@823 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
82a3f10480
commit
ea5109d6c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user