diff options
author | Lance Stout <lancestout@gmail.com> | 2011-02-24 16:13:44 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-02-24 16:13:44 -0500 |
commit | 45ccb313560fbfbc0354ebac9116ecb9ff963a47 (patch) | |
tree | f3dd0c86ac4192d515ccad479e7d6d573c89e022 /sleekxmpp/plugins/xep_0030 | |
parent | 1a81b2f464a3f35c99ff1659b7debb6006004d4f (diff) | |
download | slixmpp-45ccb313560fbfbc0354ebac9116ecb9ff963a47.tar.gz slixmpp-45ccb313560fbfbc0354ebac9116ecb9ff963a47.tar.bz2 slixmpp-45ccb313560fbfbc0354ebac9116ecb9ff963a47.tar.xz slixmpp-45ccb313560fbfbc0354ebac9116ecb9ff963a47.zip |
Remove the occasional warning about XEP-0059 not loaded.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030')
-rw-r--r-- | sleekxmpp/plugins/xep_0030/disco.py | 2 |
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) |