summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-02-24 16:19:45 -0500
committerLance Stout <lancestout@gmail.com>2011-02-24 16:19:45 -0500
commit42c8f6ae877535c48424e5bcb8233f5d07dcfb7d (patch)
tree5d6892cfd29cb009b952bc06b398bd8cf03ac541 /sleekxmpp/plugins/xep_0030
parente4f3b777f9d6c57a2d05296079828609e6b18375 (diff)
parent45ccb313560fbfbc0354ebac9116ecb9ff963a47 (diff)
downloadslixmpp-42c8f6ae877535c48424e5bcb8233f5d07dcfb7d.tar.gz
slixmpp-42c8f6ae877535c48424e5bcb8233f5d07dcfb7d.tar.bz2
slixmpp-42c8f6ae877535c48424e5bcb8233f5d07dcfb7d.tar.xz
slixmpp-42c8f6ae877535c48424e5bcb8233f5d07dcfb7d.zip
Merge branch 'develop' into roster
Diffstat (limited to 'sleekxmpp/plugins/xep_0030')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index 45d6931b..1c967bd5 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -119,7 +119,7 @@ class xep_0030(base_plugin):
def post_init(self):
"""Handle cross-plugin dependencies."""
base_plugin.post_init(self)
- if self.xmpp['xep_0059']:
+ if 'xep_0059' in self.xmpp.plugin:
register_stanza_plugin(DiscoItems,
self.xmpp['xep_0059'].stanza.Set)