Some minor fixes
This commit is contained in:
parent
64106c83eb
commit
4ca32f4453
@ -1250,7 +1250,7 @@ ts::command_result ConnectedClient::execute_channel_edit(ChannelId& channel_id,
|
||||
case property::CHANNEL_FLAG_DEFAULT: {
|
||||
if(!converter<bool>::from_string_view(value)) {
|
||||
/* The default channel flag can only be enabled. "Disabling" will be done by enabling the default flag somewhere else. */
|
||||
return command_result{error::parameter_invalid, std::string{property::describe(property).name}};
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user