* CLI: 'region put ...' now defaults to flood allowed
Cette révision appartient à :
@@ -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) {
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur