diff --git a/lib/user.js b/lib/user.js index 69edf303..dc5d8030 100644 --- a/lib/user.js +++ b/lib/user.js @@ -496,7 +496,7 @@ User.prototype.login = function (name, pw) { if (err) { if (err === "Invalid username/password combination") { Logger.eventlog.log("[loginfail] Login failed (bad password): " + name - + "@" + webserver.ipForRequest(req)); + + "@" + user.ip); } self.socket.emit("login", {