Diff

plugins/muc/history.lib.lua @ 7086:6cc7c9da29ed

MUC: Rename variables to please luacheck
author Kim Alvefur <zash@zash.se>
date Wed, 20 Jan 2016 14:46:06 +0100
parent 6991:84e01dbb739e
child 7350:24e2369b67f9
line wrap: on
line diff
--- 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;