mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Some strange servers replied to MODE #chan1,#chan2 with "Cannot join channel
(illegal name)". IMHO this is not a logical reply from server.. fixed, anyway. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@265 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bb5d6a730b
commit
b4a9ee1966
@ -194,9 +194,10 @@ static void channel_send_query(IRC_SERVER_REC *server, int query)
|
|||||||
for (tmp = chans; tmp != NULL; tmp = tmp->next) {
|
for (tmp = chans; tmp != NULL; tmp = tmp->next) {
|
||||||
chanrec = tmp->data;
|
chanrec = tmp->data;
|
||||||
|
|
||||||
server_redirect_event((SERVER_REC *) server, chanstr, 3,
|
server_redirect_event((SERVER_REC *) server, chanstr, 4,
|
||||||
"event 403", "chanquery mode abort", 1,
|
"event 403", "chanquery mode abort", 1,
|
||||||
"event 442", "chanquery mode abort", 1, /* "you're not on that channel" */
|
"event 442", "chanquery mode abort", 1, /* "you're not on that channel" */
|
||||||
|
"event 479", "chanquery mode abort", 1, /* "Cannot join channel (illegal name)" IMHO this is not a logical reply from server. */
|
||||||
"event 324", "chanquery mode", 1, NULL);
|
"event 324", "chanquery mode", 1, NULL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user