1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

Add IRC command /wallchops, fix bug with display of notice for ops (task #10021, bug #29932)

This commit is contained in:
Sebastien Helleu
2010-05-23 10:01:38 +02:00
parent 3c17e9e272
commit 7bb9892e86
17 changed files with 351 additions and 20 deletions
+1 -4
View File
@@ -517,10 +517,7 @@ irc_nick_count (struct t_irc_channel *channel, int *total, int *count_op,
ptr_nick = ptr_nick->next_nick)
{
(*total)++;
if ((ptr_nick->flags & IRC_NICK_CHANOWNER) ||
(ptr_nick->flags & IRC_NICK_CHANADMIN) ||
(ptr_nick->flags & IRC_NICK_CHANADMIN2) ||
(ptr_nick->flags & IRC_NICK_OP))
if (IRC_NICK_IS_OP(ptr_nick))
(*count_op)++;
else
{