aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-06 14:35:03 +0200
committerKim Alvefur <zash@zash.se>2013-08-06 14:35:03 +0200
commit132f38d70aa6187f55474b583702e57260eee311 (patch)
tree43e921f6bd3937398e258a64aa064ae01360625e /plugins/mod_admin_telnet.lua
parent6b7b6e0e7b6afa7964e22a4af1bf117f17dbff9c (diff)
parenta316833b30b2e58f75ca808f0006c877b52f7d01 (diff)
downloadprosody-132f38d70aa6187f55474b583702e57260eee311.tar.gz
prosody-132f38d70aa6187f55474b583702e57260eee311.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 6fc378bb..18ae4fe0 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -670,7 +670,7 @@ end
-- I think there's going to be more confusion among operators if we
-- break from that.
local function print_errors(print, errors)
- for depth, t in ipairs(errors) do
+ for depth, t in pairs(errors) do
print(
(" %d: %s"):format(
depth-1,