summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/revstr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/revstr.py b/plugins/revstr.py
index 98a6ea1a..27141969 100644
--- a/plugins/revstr.py
+++ b/plugins/revstr.py
@@ -3,6 +3,8 @@ from plugin import BasePlugin
class Plugin(BasePlugin):
def init(self):
self.api.add_event_handler('muc_say', self.revstr)
+ self.api.add_event_handler('conversation_say', self.revstr)
+ self.api.add_event_handler('private_say', self.revstr)
def revstr(self, msg, tab):
msg['body'] = msg['body'][::-1]