From 6f951d20d0bab90533df9587dfcd9d4fd771a468 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 8 Feb 2009 22:37:39 +0000 Subject: [PATCH] remove useless code --- src/common/connection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 6c2ed9eca..0097ec219 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -519,10 +519,7 @@ class Connection(ConnectionHandlers): 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()