|
|
|
@ -45,6 +45,8 @@ public final class list {
|
|
|
|
|
if (post == null || env == null) throw new NullPointerException("post: " + post + ", sb: " + env);
|
|
|
|
|
final plasmaSwitchboard sb = (plasmaSwitchboard) env;
|
|
|
|
|
|
|
|
|
|
final String blackListName = post.get("listname", "");
|
|
|
|
|
|
|
|
|
|
// return variable that accumulates replacements
|
|
|
|
|
final serverObjects prop = new serverObjects();
|
|
|
|
|
if ((post == null) || (env == null)) return prop;
|
|
|
|
@ -73,11 +75,13 @@ public final class list {
|
|
|
|
|
|
|
|
|
|
if (filenamesarray.length > 0){
|
|
|
|
|
for (int i = 0;i < filenamesarray.length; i++) {
|
|
|
|
|
if (blackListName.equals("") || filenamesarray[i].equals(blackListName)) {
|
|
|
|
|
final String filename = filenamesarray[i];
|
|
|
|
|
final File fileObj = new File(listsPath,filename);
|
|
|
|
|
out.append(listManager.getListString(fileObj, false)).append(serverCore.CRLF_STRING);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
prop.put("list",out.toString());
|
|
|
|
|
} else {
|
|
|
|
|