From fdb61cda2724f5cc79dedec4ecf041a92450216b Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 26 Dec 2016 16:00:18 +0100 Subject: Add missing message types (fix #3271) Which were being filtered by the information popup filter --- plugins/exec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/exec.py b/plugins/exec.py index 9217bc8a..f9894f53 100644 --- a/plugins/exec.py +++ b/plugins/exec.py @@ -65,10 +65,10 @@ class Plugin(BasePlugin): result = process.communicate()[0].decode('utf-8') if arg and arg == '-o': if not self.api.send_message('%s' % (result,)): - self.api.information('Cannot send result (%s), this is not a conversation tab' % result) + self.api.information('Cannot send result (%s), this is not a conversation tab' % result, 'Error') elif arg and arg == '-O': if not self.api.send_message('%s:\n%s' % (command, result)): - self.api.information('Cannot send result (%s), this is not a conversation tab' % result) + self.api.information('Cannot send result (%s), this is not a conversation tab' % result, 'Error') else: self.api.information('%s:\n%s' % (command, result), 'Info') return -- cgit v1.2.3