From c21a1bb7b1932856c837d5c20b3679ac6ff562b2 Mon Sep 17 00:00:00 2001 From: dece Date: Mon, 9 Nov 2020 15:50:26 +0100 Subject: [PATCH] unknown_command: fix message handling --- edmond/plugins/unknown_command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/edmond/plugins/unknown_command.py b/edmond/plugins/unknown_command.py index 8d297e5..b6647ee 100644 --- a/edmond/plugins/unknown_command.py +++ b/edmond/plugins/unknown_command.py @@ -36,8 +36,7 @@ class UnknownCommandPlugin(Plugin): return False words = message.split() if len(words) == 0 or words[-1] != self.config["command_suffix"]: - self.signal_failure(event.target) - return True + return False query = " ".join(words[:-1]) self.process_query(query, event.target)