diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-02-13 16:54:39 (GMT) |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-02-13 16:54:39 (GMT) |
commit | 8770f6916ca1e6d58f16fe0c54fcda4ac1f62dcc (patch) | |
tree | d78c911c0d3a4695ef5c2b158a4b4c482da4c368 | |
parent | 070b264092a93074d5062a10834c3ea00010abcc (diff) |
server_plugin: emit the want-to-connect signal instead of directly start the connect process
-rw-r--r-- | src/server_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |