Skip to content

Commit 91f3fa0

Browse files
committed
* CLI: 'region put ...' now defaults to flood allowed
1 parent 7cdb056 commit 91f3fa0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/helpers/CommonCLI.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,8 @@ void CommonCLI::handleRegionCmd(char* command, char* reply) {
977977
if (region == NULL) {
978978
strcpy(reply, "Err - unable to put");
979979
} else {
980-
strcpy(reply, "OK");
980+
region->flags = 0; // New default: enable flood
981+
strcpy(reply, "OK - (flood allowed)");
981982
}
982983
}
983984
} else if (n >= 3 && strcmp(parts[1], "remove") == 0) {

0 commit comments

Comments
 (0)