opts += "|wl";
if (!bl)
opts += "|bl";
+ opts += "|";
this.token = wookie + "~"
+ CookieUtils.generateCookie(wookie + subkey + opts, 0)
this.token = token;
this.success = true;
- this.rw = opts.contains("|rw");
- this.wl = !opts.contains("|wl");
- this.bl = !opts.contains("|bl");
+ this.rw = opts.contains("|rw|");
+ this.wl = !opts.contains("|wl|");
+ this.bl = !opts.contains("|bl|");
}
}
}
private List<MetaData> metas(LoginResult login) throws IOException {
BasicLibrary lib = Instance.getInstance().getLibrary();
+ System.out.println("Whitelist: " + whitelist);
+ System.out.println("Blacklist: " + blacklist);
+ System.out.println("isWl: " + login.isWl());
+ System.out.println("isBl: " + login.isBl());
+
List<MetaData> metas = new ArrayList<MetaData>();
for (MetaData meta : lib.getList().getMetas()) {
if (isAllowed(meta, login)) {