summaryrefslogtreecommitdiff
path: root/src/plugin.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-24 02:07:08 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-24 02:11:45 +0200
commit9c3fece96bee3c381cf0d7bd7022b46c858c6e1b (patch)
treeee3198ca6111800b3fe5c6c233e135500001a1c1 /src/plugin.py
parent459471d7160295259683a6268e7e2e465d4dd2d0 (diff)
downloadpoezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.gz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.bz2
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.tar.xz
poezio-9c3fece96bee3c381cf0d7bd7022b46c858c6e1b.zip
Use slixmpp
Diffstat (limited to 'src/plugin.py')
-rw-r--r--src/plugin.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugin.py b/src/plugin.py
index a2412e10..48ff3bd3 100644
--- a/src/plugin.py
+++ b/src/plugin.py
@@ -339,21 +339,21 @@ class PluginAPI(object):
"""
return self.plugin_manager.del_event_handler(module, *args, **kwargs)
- def add_sleek_event_handler(self, module, event_name, handler):
+ def add_slix_event_handler(self, module, event_name, handler):
"""
- Add an event handler for a sleekxmpp event.
+ Add an event handler for a slixmpp event.
:param str event_name: The event name.
:param function handler: The handler function.
- A list of the SleekXMPP events can be found here
+ A list of the slixmpp events can be found here
http://sleekxmpp.com/event_index.html
"""
self.core.xmpp.add_event_handler(event_name, handler)
- def del_sleek_event_handler(self, module, event_name, handler):
+ def del_slix_event_handler(self, module, event_name, handler):
"""
- Remove a handler for a SleekXMPP event
+ Remove a handler for a slixmpp event
:param str event_name: The name of the targeted event.
:param function handler: The function to remove from the handlers.