diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2008-10-28 17:29:49 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-10-28 17:29:49 +0000 |
commit | c955bcd67249b6b0c66282a6e5a7970ea9729fbb (patch) | |
tree | fa82dd9ffa781bc5471d4395cfbbab7e3b8b4bdb /src/fe-common/irc | |
parent | 86a5e8085ae404f250ddf8eea5b2d7a1401044fd (diff) | |
download | irssi-c955bcd67249b6b0c66282a6e5a7970ea9729fbb.zip |
Also display 407 numerics that are not "duplicate channel".
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4877 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r-- | src/fe-common/irc/fe-events-numeric.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 1de8e5dd..dbc061d7 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -461,7 +461,8 @@ static void event_too_many_channels(IRC_SERVER_REC *server, const char *data) cannot_join(server, data, IRCTXT_JOINERROR_TOOMANY); } -static void event_duplicate_channel(IRC_SERVER_REC *server, const char *data) +static void event_duplicate_channel(IRC_SERVER_REC *server, const char *data, + const char *nick) { char *params, *channel, *p; @@ -476,7 +477,8 @@ static void event_duplicate_channel(IRC_SERVER_REC *server, const char *data) if (channel[0] == '!' && channel[1] == '!') { printformat(server, NULL, MSGLEVEL_CRAP, IRCTXT_JOINERROR_DUPLICATE, channel+1); - } + } else + print_event_received(server, data, nick, FALSE); g_free(params); } |