Author: asterix Date: 2009-02-08 23:37:39 +0100 (Sun, 08 Feb 2009) New Revision: 11063
Modified: trunk/src/common/connection.py Log: remove useless code
Modified: trunk/src/common/connection.py =================================================================== --- trunk/src/common/connection.py 2009-02-08 19:53:55 UTC (rev 11062) +++ trunk/src/common/connection.py 2009-02-08 22:37:39 UTC (rev 11063) @@ -519,10 +519,7 @@ if len(self._hosts): # No config option exist when creating a new account if self.last_connection_type: - if self.last_connection_type == 'plain': - self._connection_types = ['plain'] - else: - self._connection_types = [self.last_connection_type] + self._connection_types = [self.last_connection_type] elif self.name in gajim.config.get_per('accounts'): self._connection_types = gajim.config.get_per('accounts', self.name, 'connection_types').split()