X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmuc%2Fpersistent.lib.lua;h=abceafe1cb784018ef3cc70746aa72adf9d0e916;hb=f9e3cb3d5580b9a66b122da97c3507b57e374825;hp=773509b5d53e536834dc17836fea09afc36bc28f;hpb=e18dff035f84e31fb8f4ebf685523db6f31c11b5;p=prosody.git diff --git a/plugins/muc/persistent.lib.lua b/plugins/muc/persistent.lib.lua index 773509b5..abceafe1 100644 --- a/plugins/muc/persistent.lib.lua +++ b/plugins/muc/persistent.lib.lua @@ -25,7 +25,7 @@ module:hook("muc-config-form", function(event) label = "Make Room Persistent?"; value = get_persistent(event.room); }); -end); +end, 100-3); module:hook("muc-config-submitted/muc#roomconfig_persistentroom", function(event) if set_persistent(event.room, event.value) then