Diff

tools/ejabberdsql2prosody.lua @ 2868:ebdff81adee4

ejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)
author Matthew Wild <mwild1@gmail.com>
date Sun, 21 Feb 2010 16:42:26 +0000
parent 1649:a6698ab04039
child 2923:b7049746bd29
line wrap: on
line diff
--- a/tools/ejabberdsql2prosody.lua	Sat Feb 20 00:52:28 2010 +0000
+++ b/tools/ejabberdsql2prosody.lua	Sun Feb 21 16:42:26 2010 +0000
@@ -254,7 +254,7 @@
 for i, row in ipairs(t["users"] or NULL) do
 	local node, password = row.username, row.password;
 	local ret, err = dm.store(node, host, "accounts", {password = password});
-	print("["..(err or "success").."] accounts: "..node.."@"..host.." = "..password);
+	print("["..(err or "success").."] accounts: "..node.."@"..host);
 end
 
 function roster(node, host, jid, item)