3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

clientbot: whoops, fix wrong arg count for WHOX services acc handling

This commit is contained in:
James Lu 2017-08-21 23:27:47 -07:00
parent 29bb4c3dfd
commit 060a947798

View File

@ -741,7 +741,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
log.warning('(%s) handle_352: got wrong string %s for away status', self.name, status[0])
if command == '354' and len(args) >= 9: # WHOX account
account = args[8]
account = args[7]
log.debug('(%s) handle_354: got account %r for %s', self.name, account, uid)
if account == '*': # Indicates no account