Make REMOVE a high-priority message. Closes GH-1294.

This commit is contained in:
Valentin Lorentz 2017-08-03 22:01:49 +02:00
parent d5b4275b23
commit b00081f6c9
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class IrcCallback(IrcCommandDispatcher, log.Firewalled):
# Basic queue for IRC messages. It doesn't presently (but should at some
# later point) reorder messages based on priority or penalty calculations.
###
_high = frozenset(['MODE', 'KICK', 'PONG', 'NICK', 'PASS', 'CAPAB'])
_high = frozenset(['MODE', 'KICK', 'PONG', 'NICK', 'PASS', 'CAPAB', 'REMOVE'])
_low = frozenset(['PRIVMSG', 'PING', 'WHO', 'NOTICE', 'JOIN'])
class IrcMsgQueue(object):
"""Class for a queue of IrcMsgs. Eventually, it should be smart.