Browse Source

* CLI: 'region put ...' now defaults to flood allowed

default-scope
Scott Powell 2 months ago
parent
commit
91f3fa0bdf
  1. 3
      src/helpers/CommonCLI.cpp

3
src/helpers/CommonCLI.cpp

@ -977,7 +977,8 @@ void CommonCLI::handleRegionCmd(char* command, char* reply) {
if (region == NULL) { if (region == NULL) {
strcpy(reply, "Err - unable to put"); strcpy(reply, "Err - unable to put");
} else { } else {
strcpy(reply, "OK"); region->flags = 0; // New default: enable flood
strcpy(reply, "OK - (flood allowed)");
} }
} }
} else if (n >= 3 && strcmp(parts[1], "remove") == 0) { } else if (n >= 3 && strcmp(parts[1], "remove") == 0) {

Loading…
Cancel
Save