diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-05-27 01:51:51 +0800 |
---|---|---|
committer | Thom Nichols <tmnichols@gmail.com> | 2010-06-01 22:07:51 +0800 |
commit | a2719b0bb0d4ac26f30c462e6eebb32965637d34 (patch) | |
tree | efff1e464a619bb95b693c615b0ee67c84a37ef9 /sleekxmpp/plugins/base.py | |
parent | 71ad715caaeb43517e5175380d3256d8a8cf1141 (diff) | |
download | slixmpp-a2719b0bb0d4ac26f30c462e6eebb32965637d34.tar.gz slixmpp-a2719b0bb0d4ac26f30c462e6eebb32965637d34.tar.bz2 slixmpp-a2719b0bb0d4ac26f30c462e6eebb32965637d34.tar.xz slixmpp-a2719b0bb0d4ac26f30c462e6eebb32965637d34.zip |
plugins now are checked for post_init having ran when process() is called
Diffstat (limited to 'sleekxmpp/plugins/base.py')
-rw-r--r-- | sleekxmpp/plugins/base.py | 3 |
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 |