diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-05-26 10:51:51 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-05-26 10:51:51 -0700 |
commit | f4bc9d9722ea57b5f5d22efeb6bc65cb990e1053 (patch) | |
tree | 0b10ae2046996ce19efc29a701fc4cb9ed86c2d1 /sleekxmpp/plugins/base.py | |
parent | 9cfe19c1e14f7045684ed523b65cdbdf3ab48b2e (diff) | |
download | slixmpp-f4bc9d9722ea57b5f5d22efeb6bc65cb990e1053.tar.gz slixmpp-f4bc9d9722ea57b5f5d22efeb6bc65cb990e1053.tar.bz2 slixmpp-f4bc9d9722ea57b5f5d22efeb6bc65cb990e1053.tar.xz slixmpp-f4bc9d9722ea57b5f5d22efeb6bc65cb990e1053.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 |