diff options
author | Kim Alvefur <zash@zash.se> | 2016-01-20 14:46:06 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-01-20 14:46:06 +0100 |
commit | d1035ccf21a3fcab0909b18cb46c782ee820f0b0 (patch) | |
tree | 84d4ba28d235067a7bfff06e2f863830c8830dfd /plugins/muc/history.lib.lua | |
parent | f763095b66a53b0fcc73f21a99478deabebd2a5b (diff) | |
download | prosody-d1035ccf21a3fcab0909b18cb46c782ee820f0b0.tar.gz prosody-d1035ccf21a3fcab0909b18cb46c782ee820f0b0.zip |
MUC: Rename variables to please luacheck
Diffstat (limited to 'plugins/muc/history.lib.lua')
-rw-r--r-- | plugins/muc/history.lib.lua | 2 |
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; |