Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Collett <morgan.collett@gmail.com>2007-07-10 14:00:21 (GMT)
committer Morgan Collett <morgan.collett@gmail.com>2007-07-10 14:00:21 (GMT)
commit55a4e20456de300e12a3ba33d27385a98088d1c9 (patch)
tree57b82b988c2f7615e7421fd919d033ac06fa4731
parent3d886d9fc3524711e9cad9d5d47a121edeb363ad (diff)
Fix 'Rework reconnection logic' patch to actually start server_plugin
-rw-r--r--src/server_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server_plugin.py b/src/server_plugin.py
index 7c275b1..9ba0376 100644
--- a/src/server_plugin.py
+++ b/src/server_plugin.py
@@ -66,10 +66,10 @@ class ServerPlugin(TelepathyPlugin):
def _ip4_address_changed_cb(self, ip4am, address):
_logger.debug("::: IP4 address now %s", address)
if address:
- _logger.debug("::: valid IP4 address, conn_status %s",
+ _logger.debug("::: valid IP4 address, conn_status %s" %
self._conn_status)
# this is a no-op if starting would be inappropriate right now
- if self._conn_status != CONNECTION_STATUS_DISCONNECTED:
+ if self._conn_status != CONNECTION_STATUS_CONNECTED:
self.start()
else:
_logger.debug("::: invalid IP4 address, will disconnect")