From e9fa70dafd903e6120291d40120378fd4571b96d Mon Sep 17 00:00:00 2001 From: CodeForFame Date: Sat, 17 Mar 2012 20:46:40 -0500 Subject: [PATCH] Don't want people logging into other accounts and getting IP addresses. Remove this once passwords are actually being checked. --- .../msc/ls/persistence/impl/SerializedStorageMedium.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LoginServer/src/org/moparscape/msc/ls/persistence/impl/SerializedStorageMedium.java b/LoginServer/src/org/moparscape/msc/ls/persistence/impl/SerializedStorageMedium.java index d619d67..196098c 100644 --- a/LoginServer/src/org/moparscape/msc/ls/persistence/impl/SerializedStorageMedium.java +++ b/LoginServer/src/org/moparscape/msc/ls/persistence/impl/SerializedStorageMedium.java @@ -242,7 +242,8 @@ public class SerializedStorageMedium implements StorageMedium { } ps.setOwner((int) ownerId, 1, 0L); - + ps.setLogin(ps.getLastLogin(), "127.0.0.1"); + return ps; }