bugfix when keepalive package doen't come back

This commit is contained in:
Yann Leboulanger 2005-05-10 17:45:10 +00:00
parent 87f19fb638
commit 2f35fade71
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class Dispatcher(PlugIn):
self.send(iq)
self._natSent = True
if time.time() > self._lastIncome + 90: #1 min + 30 sec pr rep
self.disconnected()
self._owner.disconnected()
for handler in self._cycleHandlers: handler(self)
if self._owner.Connection.pending_data(timeout):
try: data=self._owner.Connection.receive()