summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-02-24 16:19:35 -0500
committerLance Stout <lancestout@gmail.com>2011-02-24 16:19:35 -0500
commitc2161ca56b4c9c1ce8dabd32ed36cd4902b4eefc (patch)
tree500caa5f1ebaaf24044b4c81ed03d63ee464572c /sleekxmpp/plugins/xep_0030
parentd5b3a5282763e4f74816ff392bd8cd47dd9f7a95 (diff)
parent45ccb313560fbfbc0354ebac9116ecb9ff963a47 (diff)
downloadslixmpp-c2161ca56b4c9c1ce8dabd32ed36cd4902b4eefc.tar.gz
slixmpp-c2161ca56b4c9c1ce8dabd32ed36cd4902b4eefc.tar.bz2
slixmpp-c2161ca56b4c9c1ce8dabd32ed36cd4902b4eefc.tar.xz
slixmpp-c2161ca56b4c9c1ce8dabd32ed36cd4902b4eefc.zip
Merge branch 'develop' into stream_features
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)