Merge branch 'yowsup-2' into develop

This commit is contained in:
moyamo 2016-01-09 21:23:45 +02:00
commit 80e7fad07f

2
bot.py
View file

@ -45,7 +45,7 @@ class Bot():
args = message.strip().split(" ")
cmd = args.pop(0)
if cmd[0] == '\\':
if len(cmd) > 0 and cmd[0] == '\\':
try:
self.call(cmd[1:], args)
except KeyError: