]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.cpp
Log errors from plugins to server log.
[stg.git] / projects / stargazer / settings_impl.cpp
index 2bf8d08271bf2b32bf718398d7c964d09744153e..16a2ac47130f1497fdb47ec1ee33e923989c5e42 100644 (file)
@@ -375,7 +375,7 @@ while (node)
 
     if (strcasecmp(node->getName(), "FeeChargeType") == 0)
         {
-        if (ParseUnsignedInRange(node->getValue(0), 0, 2, &feeChargeType) != 0)
+        if (ParseUnsignedInRange(node->getValue(0), 0, 3, &feeChargeType) != 0)
             {
             strError = "Incorrect FeeChargeType value: \'" + string(node->getValue(0)) + "\'";
             return -1;