mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Fix parsing ISUPPORT MODES with empty value.
This commit is contained in:
parent
2008f7b815
commit
fc06aa72a6
@ -614,7 +614,7 @@ class IrcState(IrcCommandDispatcher, log.Firewalled):
|
||||
self.supported['chanmodes'] = frozenset(msg.args[4])
|
||||
|
||||
_005converters = utils.InsensitivePreservingDict({
|
||||
'modes': int,
|
||||
'modes': lambda s: int(s) if s else None, # it's optional
|
||||
'keylen': int,
|
||||
'nicklen': int,
|
||||
'userlen': int,
|
||||
|
Loading…
Reference in New Issue
Block a user