Some issue fixes
This commit is contained in:
@@ -119,7 +119,7 @@ command_result ConnectedClient::handleCommandMusicBotCreate(Command& cmd) {
|
||||
if(!channel) {
|
||||
if(cmd[0].has("cid")) return command_result{error::channel_invalid_id};
|
||||
} else {
|
||||
if(!this->calculate_and_get_join_state(channel))
|
||||
if(this->calculate_and_get_join_state(channel) != permission::ok)
|
||||
channel = nullptr;
|
||||
}
|
||||
if(!channel)
|
||||
|
||||
Reference in New Issue
Block a user