prevent traceback, fixed #4121

This commit is contained in:
Yann Leboulanger 2008-07-29 07:36:44 +00:00
parent bdcce03d5d
commit 64b73530c4
1 changed files with 2 additions and 0 deletions

View File

@ -738,6 +738,8 @@ class ConnectionDisco:
raise common.xmpp.NodeProcessed
def _DiscoverInfoGetCB(self, con, iq_obj):
if not self.connection:
return
gajim.log.debug('DiscoverInfoGetCB')
q = iq_obj.getTag('query')
node = q.getAttr('node')