diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 56345d0..4875530 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/RabiRace/Profile.java b/src/sig/modules/RabiRace/Profile.java index 4777c19..fd1856d 100644 --- a/src/sig/modules/RabiRace/Profile.java +++ b/src/sig/modules/RabiRace/Profile.java @@ -175,7 +175,7 @@ public class Profile { public void downloadProfile() { if (sigIRC.authenticated) { - File file = new File(sigIRC.BASEDIR+"tmp"); + File file = new File(sigIRC.BASEDIR+"tmp_profile"); try { org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=retrievedata&name="+username.toLowerCase()),file); } catch (MalformedURLException e) { @@ -183,7 +183,7 @@ public class Profile { } catch (IOException e) { e.printStackTrace(); } - String[] data = FileUtils.readFromFile(sigIRC.BASEDIR+"tmp"); + String[] data = FileUtils.readFromFile(sigIRC.BASEDIR+"tmp_profile"); //System.out.println(Arrays.toString(data)); if (data.length>=18) { int i=0; diff --git a/src/sig/modules/RabiRace/SessionListData.java b/src/sig/modules/RabiRace/SessionListData.java index 377024f..4647eb4 100644 --- a/src/sig/modules/RabiRace/SessionListData.java +++ b/src/sig/modules/RabiRace/SessionListData.java @@ -9,7 +9,7 @@ public class SessionListData { public SessionListData() { - } + } public void UpdateData(String[] data) { //this.data.clear(); diff --git a/src/sig/modules/RabiRace/SessionListWindow.java b/src/sig/modules/RabiRace/SessionListWindow.java index be29110..c9a803c 100644 --- a/src/sig/modules/RabiRace/SessionListWindow.java +++ b/src/sig/modules/RabiRace/SessionListWindow.java @@ -145,9 +145,9 @@ public class SessionListWindow extends JFrame{ if (hashedPass.length()==0) { hashedPass="none"; } - File file = new File(sigIRC.BASEDIR+"sigIRC/tmp.data"); + File file = new File(sigIRC.BASEDIR+"sigIRC/tmp_session.data"); org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://45.33.13.215/rabirace/send.php?key=joinsession&name="+RabiRaceModule.module.myProfile.username+"&session="+session.id+"&password="+hashedPass),file); - String[] data = FileUtils.readFromFile(sigIRC.BASEDIR+"sigIRC/tmp.data"); + String[] data = FileUtils.readFromFile(sigIRC.BASEDIR+"sigIRC/tmp_session.data"); if (data.length==1) { int errorCode = Integer.parseInt(data[0]);