From 4ca32f445390add9c80c2f9a47a594eb47eaf667 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 2 Dec 2020 21:43:03 +0100 Subject: [PATCH] Some minor fixes --- server/src/client/command_handler/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/client/command_handler/channel.cpp b/server/src/client/command_handler/channel.cpp index ec5a608..0aebe8b 100644 --- a/server/src/client/command_handler/channel.cpp +++ b/server/src/client/command_handler/channel.cpp @@ -1250,7 +1250,7 @@ ts::command_result ConnectedClient::execute_channel_edit(ChannelId& channel_id, case property::CHANNEL_FLAG_DEFAULT: { if(!converter::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; }