3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

clientbot: fix args list

This commit is contained in:
James Lu 2016-07-17 20:59:31 -07:00
parent 8981d71fd0
commit b1b13a5c63

View File

@ -96,7 +96,7 @@ class ClientbotWrapperProtocol(Protocol):
args = self.parsePrefixedArgs(data) args = self.parsePrefixedArgs(data)
sender = args[0] sender = args[0]
command = args[1] command = args[1]
args = args[1:] args = args[2:]
except IndexError: except IndexError:
# Raw command without an explicit sender; assume it's being sent by our uplink. # Raw command without an explicit sender; assume it's being sent by our uplink.