prevent a traceback. fixes #4169
This commit is contained in:
parent
b9fc3556c7
commit
409a1c315a
|
@ -1474,6 +1474,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
raise common.xmpp.NodeProcessed
|
raise common.xmpp.NodeProcessed
|
||||||
|
|
||||||
def _VersionCB(self, con, iq_obj):
|
def _VersionCB(self, con, iq_obj):
|
||||||
|
if not self.connection:
|
||||||
|
return
|
||||||
gajim.log.debug('VersionCB')
|
gajim.log.debug('VersionCB')
|
||||||
iq_obj = iq_obj.buildReply('result')
|
iq_obj = iq_obj.buildReply('result')
|
||||||
qp = iq_obj.getTag('query')
|
qp = iq_obj.getTag('query')
|
||||||
|
|
Loading…
Reference in New Issue