From 3a6543c2882af5b1377b417119a852619d6f3dd6 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Aug 2008 19:50:05 +0000 Subject: Client: Added start-up IP check Previously, InstaDisc would only do an IP check if InstaDisc was left open for the interval time (default 1 day) which would rarely happen with certain people. However, now InstaDisc does an IP check every time it starts up. Refs #21 --- client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java index a1d2b5e..6f7b397 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java @@ -443,7 +443,6 @@ public class InstaDiscView extends FrameView { } ipCheckTimer = new Timer(delay, new ActionListener() { - public void actionPerformed(ActionEvent arg0) { XmlRpc xmlrpc = new XmlRpc("checkRegistration"); xmlrpc.execute(); @@ -451,6 +450,9 @@ public class InstaDiscView extends FrameView { }); ipCheckTimer.start(); + + XmlRpc xmlrpc = new XmlRpc("checkRegistration"); + xmlrpc.execute(); } public synchronized void startProgress() -- cgit 1.4.1