ejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)
authorMatthew Wild <mwild1@gmail.com>
Sun, 21 Feb 2010 16:42:26 +0000 (16:42 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sun, 21 Feb 2010 16:42:26 +0000 (16:42 +0000)
tools/ejabberdsql2prosody.lua

index f652af5ba034a4caa0c20a3a142826c8acc9d291..0e5dd0c4e9e54b6ae862008415a0240a9076d2e0 100644 (file)
@@ -254,7 +254,7 @@ end
 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)