Changeset

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
parents 2867:e3d1391920f3
children 2869:5ed986d44159
files tools/ejabberdsql2prosody.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)