src/protocols/irc/parse.c

changeset 7981
332cd6342bab
parent 7877
e523a7081aaf
child 8114
201c03cf6c5f
equal deleted inserted replaced
7980:ad4544239a3e 7981:332cd6342bab
387 msg = irc_format(irc, "vv", "PONG", input + 5); 387 msg = irc_format(irc, "vv", "PONG", input + 5);
388 irc_send(irc, msg); 388 irc_send(irc, msg);
389 g_free(msg); 389 g_free(msg);
390 return; 390 return;
391 } else if (!strncmp(input, "ERROR ", 6)) { 391 } else if (!strncmp(input, "ERROR ", 6)) {
392 gaim_connection_error(gaim_account_get_connection(irc->account), _("Disconnected")); 392 gaim_connection_error(gaim_account_get_connection(irc->account), _("Disconnected."));
393 return; 393 return;
394 } 394 }
395 395
396 if (input[0] != ':' || (cur = strchr(input, ' ')) == NULL) { 396 if (input[0] != ':' || (cur = strchr(input, ' ')) == NULL) {
397 irc_parse_error_cb(irc, input); 397 irc_parse_error_cb(irc, input);

mercurial