diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2008-02-13 16:54:39 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2008-02-15 12:09:19 (GMT) |
commit | d0fdfe367bd717d0fc5120b83cb6c5544a4b72da (patch) | |
tree | 33063201bae1f4e419133cab0de57bf544183613 /src/server_plugin.py | |
parent | 93d13d2faa4f6424a443da4496a1d41d44fe3e0d (diff) |
server_plugin: emit the want-to-connect signal instead of directly start the connect process
Diffstat (limited to 'src/server_plugin.py')
-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() |