Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!
0 Members and 1 Guest are viewing this topic.
public static boolean checkVersion(ReleaseType release) throws Exception { { String url = "http://www.clanbnu.ws/bnubot/version.php"; if(CurrentVersion.version().revision() != null) url += "?svn=" + CurrentVersion.version().revision(); url += "&release=" + release.toString(); elem = XMLElementDecorator.parse(url); } ... XMLElementDecorator motd = elem.getPath("bnubot/motd"); if(motd != null) Out.info(VersionCheck.class, motd.getString()); ... XMLElementDecorator verLatest = elem.getPath("bnubot/latestVersion"); if(verLatest == null) return false;