about summary refs log tree commit diff stats
path: root/client/trunk/src/com/fourisland
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-16 19:50:05 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-16 19:50:05 +0000
commit3a6543c2882af5b1377b417119a852619d6f3dd6 (patch)
treee9140284aa875e8cf6ff3541c656033b7587b54b /client/trunk/src/com/fourisland
parent4db316a432ce3d4fb280f64b64d3f1d0f3295b39 (diff)
downloadinstadisc-3a6543c2882af5b1377b417119a852619d6f3dd6.tar.gz
instadisc-3a6543c2882af5b1377b417119a852619d6f3dd6.tar.bz2
instadisc-3a6543c2882af5b1377b417119a852619d6f3dd6.zip
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
Diffstat (limited to 'client/trunk/src/com/fourisland')
-rw-r--r--client/trunk/src/com/fourisland/instadisc/InstaDiscView.java4
1 files changed, 3 insertions, 1 deletions
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 {
443 } 443 }
444 444
445 ipCheckTimer = new Timer(delay, new ActionListener() { 445 ipCheckTimer = new Timer(delay, new ActionListener() {
446
447 public void actionPerformed(ActionEvent arg0) { 446 public void actionPerformed(ActionEvent arg0) {
448 XmlRpc xmlrpc = new XmlRpc("checkRegistration"); 447 XmlRpc xmlrpc = new XmlRpc("checkRegistration");
449 xmlrpc.execute(); 448 xmlrpc.execute();
@@ -451,6 +450,9 @@ public class InstaDiscView extends FrameView {
451 }); 450 });
452 451
453 ipCheckTimer.start(); 452 ipCheckTimer.start();
453
454 XmlRpc xmlrpc = new XmlRpc("checkRegistration");
455 xmlrpc.execute();
454 } 456 }
455 457
456 public synchronized void startProgress() 458 public synchronized void startProgress()