summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-01-31 23:03:54 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-01-31 23:03:54 +0100
commit33e733cb0adad382fde58764a2de29031c2df767 (patch)
tree91b63444d4b5ca1633308e5ecdbc3849c6008d3e /src/plugins/irc/irc-nick.h
parentc0f4dc9863d24012e0ffb849e1e8856d4f727b5f (diff)
downloadweechat-33e733cb0adad382fde58764a2de29031c2df767.zip
Fix nicklist sort with IRC nicks (chan owner and admin first in list)
Diffstat (limited to 'src/plugins/irc/irc-nick.h')
-rw-r--r--src/plugins/irc/irc-nick.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h
index bdbbeac74..af1f556e0 100644
--- a/src/plugins/irc/irc-nick.h
+++ b/src/plugins/irc/irc-nick.h
@@ -36,11 +36,14 @@
else \
nick->flags &= 0xFFFF - flag;
-#define IRC_NICK_GROUP_OP "1|op"
-#define IRC_NICK_GROUP_HALFOP "2|halfop"
-#define IRC_NICK_GROUP_VOICE "3|voice"
-#define IRC_NICK_GROUP_CHANUSER "4|chanuser"
-#define IRC_NICK_GROUP_NORMAL "5|normal"
+#define IRC_NICK_GROUP_CHANOWNER "01|chanowner"
+#define IRC_NICK_GROUP_CHANADMIN "02|chanadmin"
+#define IRC_NICK_GROUP_CHANADMIN2 "03|chanadmin2"
+#define IRC_NICK_GROUP_OP "04|op"
+#define IRC_NICK_GROUP_HALFOP "05|halfop"
+#define IRC_NICK_GROUP_VOICE "06|voice"
+#define IRC_NICK_GROUP_CHANUSER "07|chanuser"
+#define IRC_NICK_GROUP_NORMAL "08|normal"
struct t_irc_server;
struct t_irc_channel;