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

core: use bitwise shift operator to define flag constants

This commit is contained in:
Sébastien Helleu
2019-03-02 11:09:52 +01:00
parent 76290729b7
commit 2f5aa3b509
6 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -118,9 +118,9 @@ enum t_irc_server_option
#define IRC_SERVER_NUM_OUTQUEUES_PRIO 2
/* flags for irc_server_sendf() */
#define IRC_SERVER_SEND_OUTQ_PRIO_HIGH 1
#define IRC_SERVER_SEND_OUTQ_PRIO_LOW 2
#define IRC_SERVER_SEND_RETURN_HASHTABLE 4
#define IRC_SERVER_SEND_OUTQ_PRIO_HIGH (1 << 0)
#define IRC_SERVER_SEND_OUTQ_PRIO_LOW (1 << 1)
#define IRC_SERVER_SEND_RETURN_HASHTABLE (1 << 2)
/* version strings */
#define IRC_SERVER_VERSION_CAP "302"