plugins/muc/history.lib.lua
changeset 7089 6cc7c9da29ed
parent 6994 84e01dbb739e
child 7353 24e2369b67f9
--- a/plugins/muc/history.lib.lua	Sat Jan 16 22:44:43 2016 +0100
+++ b/plugins/muc/history.lib.lua	Wed Jan 20 14:46:06 2016 +0100
@@ -105,7 +105,7 @@
 	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;