From d0fdfe367bd717d0fc5120b83cb6c5544a4b72da Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 13 Feb 2008 16:54:39 +0000 Subject: server_plugin: emit the want-to-connect signal instead of directly start the connect process --- diff --git a/src/server_plugin.py b/src/server_plugin.py index 8d0a4f0..f862ce4 100644 --- a/src/server_plugin.py +++ b/src/server_plugin.py @@ -70,7 +70,7 @@ class ServerPlugin(TelepathyPlugin): self._conn_status) # this is a no-op if starting would be inappropriate right now if self._conn_status != CONNECTION_STATUS_CONNECTED: - self.start() + self.emit('want-to-connect') else: _logger.debug("::: invalid IP4 address, will disconnect") self._stop() -- cgit v0.9.1