From 153f7ab338955a82df4a8f31145a959216e42bab Mon Sep 17 00:00:00 2001 From: Thorsten Date: Fri, 22 Mar 2019 18:32:51 +0100 Subject: [PATCH] learn to strip --- distbot/plugins/muc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distbot/plugins/muc.py b/distbot/plugins/muc.py index 279e239..497f715 100644 --- a/distbot/plugins/muc.py +++ b/distbot/plugins/muc.py @@ -80,7 +80,7 @@ class Recorder(Worker): )) return Action(msg=msg) elif cmd[1] == "record" and cmd[2] != "show": - recipient = words[1] + recipient = words[1].rstrip(":,") if words[2] in ('that', 'previous'): recording = self.history[-1]["body"] if self.history else "*whistle*" else: -- 2.39.2