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 65b1a31f..6fdef96f 100644
--- a/plugins/muc/history.lib.lua
+++ b/plugins/muc/history.lib.lua
@@ -105,7 +105,7 @@ module:hook("muc-get-history", function(event)
end
local i = history_len-n+1
- function event:next_stanza()
+ function event.next_stanza()
if i > history_len then return nil end
local entry = history[i];
local msg = entry.stanza;