plugins now are checked for post_init having ran when process() is called

This commit is contained in:
Nathan Fritz
2010-05-26 10:51:51 -07:00
parent 9cfe19c1e1
commit f4bc9d9722
7 changed files with 13 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ class xep_0050(base.base_plugin):
self.sd = self.xmpp.plugin['xep_0030']
def post_init(self):
base.base_plugin.post_init(self)
self.sd.add_feature('http://jabber.org/protocol/commands')
def addCommand(self, node, name, form, pointer=None, multi=False):