diff options
author | Lance Stout <lancestout@gmail.com> | 2012-06-22 21:58:50 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-06-22 21:58:50 -0700 |
commit | c2c7cc032b38d8a7a293467a8c2ff7380cbc756f (patch) | |
tree | 013689a019e893e745f356b509584650ce5ebb7f /sleekxmpp/plugins/xep_0302.py | |
parent | e4911e93919e733e1a3a0c1db4c6a32b87fef04a (diff) | |
download | slixmpp-c2c7cc032b38d8a7a293467a8c2ff7380cbc756f.tar.gz slixmpp-c2c7cc032b38d8a7a293467a8c2ff7380cbc756f.tar.bz2 slixmpp-c2c7cc032b38d8a7a293467a8c2ff7380cbc756f.tar.xz slixmpp-c2c7cc032b38d8a7a293467a8c2ff7380cbc756f.zip |
Fix plugin registration for single file plugins.
Diffstat (limited to 'sleekxmpp/plugins/xep_0302.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0302.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0302.py b/sleekxmpp/plugins/xep_0302.py index 83ab9a35..dee60f91 100644 --- a/sleekxmpp/plugins/xep_0302.py +++ b/sleekxmpp/plugins/xep_0302.py @@ -6,7 +6,7 @@ See the file LICENSE for copying permission. """ -from sleekxmpp.plugins import BasePlugin +from sleekxmpp.plugins import BasePlugin, register_plugin class XEP_0302(BasePlugin): @@ -16,3 +16,6 @@ class XEP_0302(BasePlugin): dependencies = set(['xep_0030', 'xep_0115', 'xep_0054', 'xep_0163', 'xep_0045', 'xep_0085', 'xep_0184', 'xep_0198']) + + +register_plugin(XEP_0302) |