CAPAB should always be an important message.

This commit is contained in:
Jeremy Fincher 2004-09-21 18:38:20 +00:00
parent f9a432c9ec
commit 5dd099c459

View File

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