mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Fix compatibility with Python 2.6 (does not support the set syntax).
This commit is contained in:
parent
c872cd793f
commit
0d4784cf4a
@ -628,9 +628,9 @@ class Irc(IrcCommandDispatcher):
|
|||||||
__firewalled__ = {'die': None,
|
__firewalled__ = {'die': None,
|
||||||
'feedMsg': None,
|
'feedMsg': None,
|
||||||
'takeMsg': None,}
|
'takeMsg': None,}
|
||||||
_nickSetters = {'001', '002', '003', '004', '250', '251', '252',
|
_nickSetters = set(['001', '002', '003', '004', '250', '251', '252',
|
||||||
'254', '255', '265', '266', '372', '375', '376',
|
'254', '255', '265', '266', '372', '375', '376',
|
||||||
'333', '353', '332', '366', '005'}
|
'333', '353', '332', '366', '005'])
|
||||||
# We specifically want these callbacks to be common between all Ircs,
|
# We specifically want these callbacks to be common between all Ircs,
|
||||||
# that's why we don't do the normal None default with a check.
|
# that's why we don't do the normal None default with a check.
|
||||||
def __init__(self, network, callbacks=_callbacks):
|
def __init__(self, network, callbacks=_callbacks):
|
||||||
|
Loading…
Reference in New Issue
Block a user