Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman
In directory sc8-pr-cvs1:/tmp/cvs-serv13540/mrpostman/src/org/mrbook/mrpostman
Modified Files:
MrPostmanService.java
Log Message:
Removed static dependency on MrPostman
Index: MrPostmanService.java
===================================================================
RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/MrPostmanService.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** MrPostmanService.java 9 Feb 2003 23:38:12 -0000 1.5
--- MrPostmanService.java 15 Jan 2004 10:34:52 -0000 1.6
***************
*** 100,104 ****
private boolean isSocketAllowed(Socket soc) {
! boolean allowRemoteHosts = MrPostman.getMainInstance().userprefs.getBoolean("AllowOtherHosts", false);
System.out.println(soc.getLocalAddress() + " " + soc.getInetAddress());
--- 100,104 ----
private boolean isSocketAllowed(Socket soc) {
! boolean allowRemoteHosts = mpn.getUserprefs().getBoolean("AllowOtherHosts", false);
System.out.println(soc.getLocalAddress() + " " + soc.getInetAddress());
|