openPostingDisabled = anOpenPostingDisabled;
}
- public boolean getOpenPostingPassword() {
+ public boolean getRequireCaptcha() {
return openPostingPassword;
}
ExtendedProperties configuration = new ExtendedProperties();
configuration.addProperty("abuse.openPostingDisabled", getOpenPostingDisabled() ? "1" : "0");
- configuration.addProperty("abuse.openPostingPassword", getOpenPostingPassword() ? "1" : "0");
+ configuration.addProperty("abuse.openPostingPassword", getRequireCaptcha() ? "1" : "0");
configuration.addProperty("abuse.cookieOnBlock", getCookieOnBlock() ? "1" : "0");
configuration.addProperty("abuse.logEnabled", getLogEnabled() ? "1" : "0");
configuration.addProperty("abuse.logSize", Integer.toString(getLogSize()));