summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/base.py
diff options
context:
space:
mode:
authorBrian Beggs <macdiesel@gmail.com>2010-06-02 07:32:33 -0400
committerBrian Beggs <macdiesel@gmail.com>2010-06-02 07:32:33 -0400
commit686943a2ec3c97e4e39ee2e38d9fd571ed98dd35 (patch)
treef8a9b69630792567ddae16ce0627ee2c2b1c6caa /sleekxmpp/plugins/base.py
parentdda3e733b59a9e71482538898a807623a79f0dbf (diff)
parent4eb210bff5753143300e5bf6ae09617901e9a28e (diff)
downloadslixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.gz
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.bz2
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.tar.xz
slixmpp-686943a2ec3c97e4e39ee2e38d9fd571ed98dd35.zip
Merge remote branch 'tom/hacks'
Diffstat (limited to 'sleekxmpp/plugins/base.py')
-rw-r--r--sleekxmpp/plugins/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/base.py b/sleekxmpp/plugins/base.py
index 685833f4..4223646a 100644
--- a/sleekxmpp/plugins/base.py
+++ b/sleekxmpp/plugins/base.py
@@ -24,6 +24,7 @@ class base_plugin(object):
self.description = 'Base Plugin'
self.xmpp = xmpp
self.config = config
+ self.post_inited = False
self.enable = config.get('enable', True)
if self.enable:
self.plugin_init()
@@ -32,4 +33,4 @@ class base_plugin(object):
pass
def post_init(self):
- pass
+ self.post_inited = True