From: Miguel A. B. L. <ari...@us...> - 2007-02-28 22:54:42
|
Update of /cvsroot/arianne/marauroa/src/marauroa/server/game/container In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv2430/src/marauroa/server/game/container Modified Files: PlayerEntry.java Log Message: Added test case for block Account. Fixed a bug at isAccountBlocked. Change Message.getAddress to return InetAddress Index: PlayerEntry.java =================================================================== RCS file: /cvsroot/arianne/marauroa/src/marauroa/server/game/container/PlayerEntry.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** PlayerEntry.java 28 Feb 2007 22:40:14 -0000 1.15 --- PlayerEntry.java 28 Feb 2007 22:54:38 -0000 1.16 *************** *** 15,19 **** import java.io.IOException; import java.net.InetAddress; - import java.net.InetSocketAddress; import java.nio.channels.SocketChannel; import java.sql.SQLException; --- 15,18 ---- *************** *** 83,87 **** * @throws SQLException if there is any database problem. */ ! public void addLoginEvent(InetSocketAddress address, boolean loginResult) throws SQLException { Transaction transaction=playerDatabase.getTransaction(); --- 82,86 ---- * @throws SQLException if there is any database problem. */ ! public void addLoginEvent(InetAddress address, boolean loginResult) throws SQLException { Transaction transaction=playerDatabase.getTransaction(); |