From 154a6a4144e44353b28c5cdfd868ecbabca99557 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 05 Jul 2007 15:10:10 +0000 Subject: ServerPlugin: fix unbound local in _connected_cb() --- diff --git a/src/server_plugin.py b/src/server_plugin.py index c589877..ab00be7 100644 --- a/src/server_plugin.py +++ b/src/server_plugin.py @@ -240,7 +240,8 @@ class ServerPlugin(TelepathyPlugin): if local_pending: # accept pending subscriptions # FIXME: do this async - publish[CHANNEL_INTERFACE_GROUP].AddMembers(local_pending, '') + self._publish_channel[CHANNEL_INTERFACE_GROUP].AddMembers( + local_pending, '') # request subscriptions from people subscribed to us if we're not # subscribed to them -- cgit v0.9.1