aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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 437056ef..487aebc6 100644
--- a/plugins/muc/history.lib.lua
+++ b/plugins/muc/history.lib.lua
@@ -114,7 +114,7 @@ module:hook("muc-get-history", function(event)
return msg;
end
return true;
-end);
+end, -1);
local function send_history(room, stanza)
local maxchars, maxstanzas, since = parse_history(stanza);