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

This commit is contained in:
Scott Powell
2026-04-17 15:11:10 +10:00
parent 7cdb056cb3
commit 91f3fa0bdf

View File

@@ -977,7 +977,8 @@ void CommonCLI::handleRegionCmd(char* command, char* reply) {
if (region == NULL) {
strcpy(reply, "Err - unable to put");
} 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) {