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

Fix bug with priority (low/high) for irc messages (all messages were sent with low priority)

This commit is contained in:
Sebastien Helleu
2010-11-12 17:28:10 +01:00
parent f27f5a6cb0
commit fc91093065
+2 -2
View File
@@ -1778,9 +1778,9 @@ irc_server_send_one_msg (struct t_irc_server *server, int flags,
/* get queue from flags */
queue_msg = 0;
if (flags && IRC_SERVER_SEND_OUTQ_PRIO_HIGH)
if (flags & IRC_SERVER_SEND_OUTQ_PRIO_HIGH)
queue_msg = 1;
else if (flags && IRC_SERVER_SEND_OUTQ_PRIO_LOW)
else if (flags & IRC_SERVER_SEND_OUTQ_PRIO_LOW)
queue_msg = 2;
switch (queue_msg - 1)