mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
IRCCommonProtocol: fix type of maxnicklen
This commit is contained in:
parent
66af57e74f
commit
4cdae540b5
@ -237,7 +237,7 @@ class IRCCommonProtocol(IRCNetwork):
|
||||
if 'NICKLEN' in newcaps:
|
||||
# Handle NICKLEN=number
|
||||
assert newcaps['NICKLEN'], "Got NICKLEN tag with no content?"
|
||||
self.maxnicklen = newcaps['NICKLEN']
|
||||
self.maxnicklen = int(newcaps['NICKLEN'])
|
||||
log.debug('(%s) handle_005: got %r for maxnicklen', self.name, self.maxnicklen)
|
||||
|
||||
if 'DEAF' in newcaps:
|
||||
|
Loading…
Reference in New Issue
Block a user