Remove the occasional warning about XEP-0059 not loaded.
This commit is contained in:
parent
1a81b2f464
commit
45ccb31356
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue