summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-10 17:06:28 +0100
committermathieui <mathieui@mathieui.net>2011-11-10 17:06:28 +0100
commitbd2d1caa0ab8f83500633d011b8c01b4213484fc (patch)
tree2b25c824e7e04b2bbc9ff8241bd7a9be22c2b067 /src/core.py
parenteaced10c1667d0ddf8cf41aebf060a6c2be7173b (diff)
downloadpoezio-bd2d1caa0ab8f83500633d011b8c01b4213484fc.tar.gz
poezio-bd2d1caa0ab8f83500633d011b8c01b4213484fc.tar.bz2
poezio-bd2d1caa0ab8f83500633d011b8c01b4213484fc.tar.xz
poezio-bd2d1caa0ab8f83500633d011b8c01b4213484fc.zip
Autoload plugins in session_start instead of core.__init__
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 986d1222..3ecf76f2 100644
--- a/src/core.py
+++ b/src/core.py
@@ -177,8 +177,6 @@ class Core(object):
self.connected_events = {}
- self.autoload_plugins()
-
def autoload_plugins(self):
plugins = config.get('plugins_autoload', '')
for plugin in plugins.split():
@@ -456,6 +454,7 @@ class Core(object):
Called when we are connected and authenticated
"""
self.connection_time = time.time()
+ self.autoload_plugins()
self.information(_("Authentication success."))
self.information(_("Your JID is %s") % self.xmpp.boundjid.full)
if not self.xmpp.anon: