mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +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:
@@ -1,10 +1,12 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2007-08-21
|
||||
ChangeLog - 2007-08-23
|
||||
|
||||
|
||||
Version 0.2.6 (under dev!):
|
||||
* fixed user modes in nicklist when ban and nick mode are received in the
|
||||
same MODE message (bug #20870)
|
||||
* fixed IRC message 333: silently ignore message if error when parsing it
|
||||
* fixed server option "command_delay": does not freeze WeeChat any more
|
||||
* added paste detection, new options look_paste_max_lines and
|
||||
|
||||
@@ -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;
|
||||
|
||||
+3
-1
@@ -1,10 +1,12 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2007-08-21
|
||||
ChangeLog - 2007-08-23
|
||||
|
||||
|
||||
Version 0.2.6 (under dev!):
|
||||
* fixed user modes in nicklist when ban and nick mode are received in the
|
||||
same MODE message (bug #20870)
|
||||
* fixed IRC message 333: silently ignore message if error when parsing it
|
||||
* fixed server option "command_delay": does not freeze WeeChat any more
|
||||
* added paste detection, new options look_paste_max_lines and
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user