Changeset 6323

Show
Ignore:
Timestamp:
05/11/06 22:51:39 (2 years ago)
Author:
dkirov
Message:

make sure we are disconnected after connection
is lost ??? #1955 by j@…

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/connection.py

    r6315 r6323  
    160160         
    161161        def _connection_lost(self): 
     162                self.disconnect(on_purpose = False) 
     163                self.dispatch('STATUS', 'offline') 
    162164                self.dispatch('ERROR', 
    163165                (_('Connection with account "%s" has been lost') % self.name,