Diff

prosodyctl @ 4815:04e6115e060b

prosodyctl: Fix import of util.iterators
author Kim Alvefur <zash@zash.se>
date Fri, 04 May 2012 01:13:33 +0200
parent 4487:5f466a50e78b
child 4824:73e261ed00a9
line wrap: on
line diff
--- a/prosodyctl	Fri May 04 00:05:15 2012 +0100
+++ b/prosodyctl	Fri May 04 01:13:33 2012 +0200
@@ -493,7 +493,7 @@
 	end
 	
 	require "util.array";
-	require "util.iterators";
+	local keys = require "util.iterators".keys;
 	
 	print("Prosody "..(prosody.version or "(unknown version)"));
 	print("");