removeProperty("hotlistTableColumns");
LinkedList l
= StringHelper.toList(get("bannedUsers"), ARRAY_SEPARATOR);
for (Iterator i = l.iterator(); i.hasNext();) {
GlobalUser u = new GlobalUser(i.next().toString(), false);
u.setMaxUploads(0);
u.setCategory(XNap.tr("Banned"));
UserManager.getInstance().add(u);
}
removeProperty("bannedUsers");
QuotedStringTokenizer t
= new QuotedStringTokenizer(get("hotlistUsers"));
while (t.hasMoreTokens()) {
GlobalUser u = new GlobalUser(t.nextToken(), false);
UserManager.getInstance().add(u);
}
UserManager.getInstance().write();
removeProperty("hotlistUsers");
}