Changeset

2688:95d665f20c71

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 2683:9e8000c84fef
children 2689:21e486ba4029 2690:542d633e0280
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)