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