mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
86a5e8085a
commit
c955bcd672
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user