1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

Fixed user modes in nicklist when ban and nick mode are received in the same MODE message (bug #20870)

This commit is contained in:
Sebastien Helleu
2007-08-23 08:26:15 +00:00
parent 76afa6d2b5
commit 7863d4cece
4 changed files with 14 additions and 2 deletions
+4
View File
@@ -126,6 +126,10 @@ irc_mode_channel_set (t_irc_server *server, t_irc_channel *channel,
irc_mode_channel_set_nick (channel, ptr_arg,
set_flag, IRC_NICK_CHANADMIN);
break;
case 'b': /* ban (ignored) */
ptr_arg = ((argc > 0) && (current_arg >= 0)) ?
argv[current_arg--] : NULL;
break;
case 'h': /* half-op */
ptr_arg = ((argc > 0) && (current_arg >= 0)) ?
argv[current_arg--] : NULL;