aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/history.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-01-20 14:46:06 +0100
committerKim Alvefur <zash@zash.se>2016-01-20 14:46:06 +0100
commitacc11c8eb3ed2b827150eed78761007856eb2e36 (patch)
tree84d4ba28d235067a7bfff06e2f863830c8830dfd /plugins/muc/history.lib.lua
parent48f8c23f4ab0e8400e20101960055eb29c4aa6f7 (diff)
downloadprosody-acc11c8eb3ed2b827150eed78761007856eb2e36.tar.gz
prosody-acc11c8eb3ed2b827150eed78761007856eb2e36.zip
MUC: Rename variables to please luacheck
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;