mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-02 15:59:26 +01:00
clientbot: whoops, fix wrong arg count for WHOX services acc handling
This commit is contained in:
parent
29bb4c3dfd
commit
060a947798
@ -741,7 +741,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
|
|||||||
log.warning('(%s) handle_352: got wrong string %s for away status', self.name, status[0])
|
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
|
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)
|
log.debug('(%s) handle_354: got account %r for %s', self.name, account, uid)
|
||||||
|
|
||||||
if account == '*': # Indicates no account
|
if account == '*': # Indicates no account
|
||||||
|
Loading…
Reference in New Issue
Block a user