summaryrefslogtreecommitdiff
path: root/src/irc/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-01 17:36:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-01 17:36:39 +0000
commitb4a9ee1966358a560a8ba23deb84b7a4a7f4fdc9 (patch)
tree65330d8c7e8b38ef0bff1cf238f5bfb0388b6b80 /src/irc/core
parentbb5d6a730ba33ebf19fa136fdf460909d9a8dd05 (diff)
downloadirssi-b4a9ee1966358a560a8ba23deb84b7a4a7f4fdc9.zip
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
Diffstat (limited to 'src/irc/core')
-rw-r--r--src/irc/core/channels-query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c
index d8516ff6..0876f0bd 100644
--- a/src/irc/core/channels-query.c
+++ b/src/irc/core/channels-query.c
@@ -194,9 +194,10 @@ static void channel_send_query(IRC_SERVER_REC *server, int query)
for (tmp = chans; tmp != NULL; tmp = tmp->next) {
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 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);
}
break;