diff options
Diffstat (limited to 'plugins/double.py')
-rw-r--r-- | plugins/double.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/double.py b/plugins/double.py index 04728bbf..597ab242 100644 --- a/plugins/double.py +++ b/plugins/double.py @@ -2,7 +2,7 @@ from plugin import BasePlugin class Plugin(BasePlugin): def init(self): - self.add_event_handler('muc_say', self.double) + self.api.add_event_handler('muc_say', self.double) def double(self, msg, tab): split = msg['body'].split() |