1
0
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:
urlbot
2015-05-31 22:02:06 +02:00
parent 30ef0e1d49
commit c6e46a9268

View File

@@ -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}'
}