mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
fix off-by-one in command_decode()
This commit is contained in:
@@ -369,7 +369,7 @@ def command_decode(argv, **args):
|
||||
if 'decode' != argv[0]:
|
||||
return
|
||||
|
||||
if len(argv) < 1:
|
||||
if len(argv) <= 1:
|
||||
return {
|
||||
'msg': args['reply_user'] + ': usage: decode {single character}'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user