1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

Fix nicklist sort with IRC nicks (chan owner and admin first in list)

This commit is contained in:
Sebastien Helleu
2009-01-31 23:03:54 +01:00
parent c0f4dc9863
commit 33e733cb0a
3 changed files with 17 additions and 8 deletions
+3 -3
View File
@@ -99,7 +99,7 @@ irc_nick_get_gui_infos (struct t_irc_nick *nick,
*prefix_color = 1;
if (buffer && group)
*group = weechat_nicklist_search_group (buffer, NULL,
IRC_NICK_GROUP_OP);
IRC_NICK_GROUP_CHANOWNER);
}
else if (nick->flags & IRC_NICK_CHANADMIN)
{
@@ -109,7 +109,7 @@ irc_nick_get_gui_infos (struct t_irc_nick *nick,
*prefix_color = 1;
if (buffer && group)
*group = weechat_nicklist_search_group (buffer, NULL,
IRC_NICK_GROUP_OP);
IRC_NICK_GROUP_CHANADMIN);
}
else if (nick->flags & IRC_NICK_CHANADMIN2)
{
@@ -119,7 +119,7 @@ irc_nick_get_gui_infos (struct t_irc_nick *nick,
*prefix_color = 1;
if (buffer && group)
*group = weechat_nicklist_search_group (buffer, NULL,
IRC_NICK_GROUP_OP);
IRC_NICK_GROUP_CHANADMIN2);
}
else if (nick->flags & IRC_NICK_OP)
{