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 | acc11c8eb3ed2b827150eed78761007856eb2e36 (patch) | |
tree | 84d4ba28d235067a7bfff06e2f863830c8830dfd /plugins/muc/history.lib.lua | |
parent | 48f8c23f4ab0e8400e20101960055eb29c4aa6f7 (diff) | |
download | prosody-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.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; |