aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/history.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/history.lib.lua')
-rw-r--r--plugins/muc/history.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/history.lib.lua b/plugins/muc/history.lib.lua
index 36b1b260..8a1163cf 100644
--- a/plugins/muc/history.lib.lua
+++ b/plugins/muc/history.lib.lua
@@ -59,7 +59,7 @@ module:hook("muc-config-form", function(event)
desc = "Specify the number of previous messages sent to new users when they join the room";
value = tostring(get_defaulthistorymessages(event.room))
});
-end, 100-10);
+end, 70-5);
module:hook("muc-config-submitted/muc#roomconfig_historylength", function(event)
if set_historylength(event.room, event.value) then