Fix xep_0030 reference warning.

This commit is contained in:
Lance Stout
2012-01-14 17:12:39 -08:00
parent de35848500
commit 947d1ffbb3
2 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ class xep_0030(base_plugin):
register_stanza_plugin(Iq, DiscoInfo)
register_stanza_plugin(Iq, DiscoItems)
self.static = StaticDisco(self.xmpp)
self.static = StaticDisco(self.xmpp, self)
self.use_cache = self.config.get('use_cache', True)
self.wrap_results = self.config.get('wrap_results', False)