From b4a9ee1966358a560a8ba23deb84b7a4a7f4fdc9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 1 Jun 2000 17:36:39 +0000 Subject: [PATCH] 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 --- src/irc/core/channels-query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;