support for CAPTCHAs
[mir.git] / source / mircoders / global / Abuse.java
index 697d6e2..ea72ded 100755 (executable)
@@ -249,7 +249,7 @@ public class Abuse {
     openPostingDisabled = anOpenPostingDisabled;
   }
 
-  public boolean getOpenPostingPassword() {
+  public boolean getRequireCaptcha() {
     return openPostingPassword;
   }
 
@@ -382,7 +382,7 @@ public class Abuse {
       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()));