From: Thorsten Date: Thu, 1 Nov 2018 16:41:47 +0000 (+0100) Subject: fix recorder (what the... ?) X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=870a3e7e91116d045658b770b7c60d54541fe795;p=urlbot-v3.git fix recorder (what the... ?) --- diff --git a/distbot/plugins/muc.py b/distbot/plugins/muc.py index b44d59d..279e239 100644 --- a/distbot/plugins/muc.py +++ b/distbot/plugins/muc.py @@ -62,7 +62,7 @@ class Recorder(Worker): conf_set("user_records.{}".format(user), []) return Action(msg=msg) # feels a bit clunky - elif cmd[0] == "nick" and len(cmd) == 3: + elif cmd[0] == "nick" and len(cmd) >= 3: if cmd[1] == "show" and cmd[2] == "records": if len(words) == 4: user = words(3)