From 060a947798bc25c83a07546ecb85e7e361d700e0 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 21 Aug 2017 23:27:47 -0700 Subject: [PATCH] clientbot: whoops, fix wrong arg count for WHOX services acc handling --- protocols/clientbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 82a1f3f..56947bd 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -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