diff options
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r-- | plugins/mod_pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index b7c04163..1603676b 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -203,7 +203,7 @@ end); local admin_aff = module:get_option_string("default_admin_affiliation", "owner"); local function get_affiliation(jid) - if usermanager.is_admin(jid, module.host) then + if jid == module.host or usermanager.is_admin(jid, module.host) then return admin_aff; end end |