diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-07 23:37:16 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-07 23:37:16 +0100 |
commit | 934006e2e90f70009a6ff354ee4f4541cc5b47fc (patch) | |
tree | 0abbaa6a497982c512338170746b3d945784ad99 /plugins | |
parent | d8865bcd45794259f384a003c4a330f7e967dc10 (diff) | |
download | poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.gz poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.bz2 poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.tar.xz poezio-934006e2e90f70009a6ff354ee4f4541cc5b47fc.zip |
Activate figlet plugin in private and conversation tabs
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/figlet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/figlet.py b/plugins/figlet.py index ccff687a..cf885352 100644 --- a/plugins/figlet.py +++ b/plugins/figlet.py @@ -4,6 +4,8 @@ import subprocess class Plugin(BasePlugin): def init(self): self.add_poezio_event_handler('muc_say', self.figletize) + self.add_poezio_event_handler('conversation_say', self.figletize) + self.add_poezio_event_handler('private_say', self.figletize) def figletize(self, msg): process = subprocess.Popen(['figlet', msg['body']], stdout=subprocess.PIPE) |