From c35e0ab043e1306e679c2cb9579cdf4b582d131e Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 27 Jan 2022 12:50:19 +0100 Subject: [PATCH] modules/CACommandModGetPostText.py --- modules/CACommandModGetPostText.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CACommandModGetPostText.py b/modules/CACommandModGetPostText.py index bc0bf6d..0c70e7f 100644 --- a/modules/CACommandModGetPostText.py +++ b/modules/CACommandModGetPostText.py @@ -19,7 +19,7 @@ class CACommandModGetPostText(AbstractCommand): def on_POST(self, request, data): self._require_channel_admin(data) # will throw an exception if not. (Dont try-except: Its handled up the stack.) - msg_text = data['text'].strip() + msg_text = data['text'].strip().split(" ", 1) try: splitpath = msg_text[0].strip().strip("/").split("/") -- 2.43.0