summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-04-01 19:31:43 -0700
committerLance Stout <lancestout@gmail.com>2012-04-06 15:09:26 -0400
commit3ee3fdca91a9006dc5e626c915c34258fe4834a3 (patch)
tree676436d937015f4fd7e751c6ee55bb5777600bf0 /sleekxmpp
parent488f7ed88691d9f7fa756a28702f6bee43d6a260 (diff)
downloadslixmpp-3ee3fdca91a9006dc5e626c915c34258fe4834a3.tar.gz
slixmpp-3ee3fdca91a9006dc5e626c915c34258fe4834a3.tar.bz2
slixmpp-3ee3fdca91a9006dc5e626c915c34258fe4834a3.tar.xz
slixmpp-3ee3fdca91a9006dc5e626c915c34258fe4834a3.zip
Fix XEP-0115 with the new API registry.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0115/caps.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0115/caps.py b/sleekxmpp/plugins/xep_0115/caps.py
index fee86f5b..84881980 100644
--- a/sleekxmpp/plugins/xep_0115/caps.py
+++ b/sleekxmpp/plugins/xep_0115/caps.py
@@ -78,9 +78,8 @@ class XEP_0115(BasePlugin):
self.static = StaticCaps(self.xmpp, disco.static)
for op in self._disco_ops:
- self.api.register(getattr(self.static, op), 'xep_0115', op)
- self.api.register_default(getattr(self.static, op),
- 'xep_0115', op)
+ self.api.register(getattr(self.static, op), op)
+ self.api.register_default(getattr(self.static, op), op)
self._run_node_handler = disco._run_node_handler