summaryrefslogtreecommitdiff
path: root/plugins/figlet.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/figlet.py')
-rw-r--r--plugins/figlet.py2
1 files changed, 1 insertions, 1 deletions
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