From aee7baab245e7edabc960e52f6062393197b6a38 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 9 Nov 2011 14:29:13 +0100 Subject: Same as previous commit, but with _say --- plugins/figlet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/figlet.py') diff --git a/plugins/figlet.py b/plugins/figlet.py index 52bbc67a..4d147956 100644 --- a/plugins/figlet.py +++ b/plugins/figlet.py @@ -7,7 +7,7 @@ class Plugin(BasePlugin): self.add_event_handler('conversation_say', self.figletize) self.add_event_handler('private_say', self.figletize) - def figletize(self, msg): + def figletize(self, msg, tab): process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE) result = process.communicate()[0].decode('utf-8') msg['body'] = result -- cgit v1.2.3