Some minor fixes

This commit is contained in:
WolverinDEV 2020-12-02 21:43:03 +01:00
parent 64106c83eb
commit 4ca32f4453

View File

@ -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;
}