Diff

plugins/mod_admin_telnet.lua @ 5770:7722372aa087

Merge 0.9->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 06 Aug 2013 14:35:03 +0200
parent 5710:e66bbfdf588e
parent 5769:f6ea5b3739c9
child 5776:bd0ff8ae98a8
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Fri Aug 02 15:40:21 2013 +0200
+++ b/plugins/mod_admin_telnet.lua	Tue Aug 06 14:35:03 2013 +0200
@@ -670,7 +670,7 @@
 -- 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,