Fixed invalid nego

This commit is contained in:
WolverinDEV 2020-02-20 13:12:34 +01:00
parent fd36ce87cf
commit 34e97b75aa

View File

@ -330,7 +330,7 @@ shared_ptr<VirtualServer> VirtualServerManager::create_server(std::string hosts,
}
server->properties()[property::VIRTUALSERVER_HOST] = hosts;
server->properties()[property::VIRTUALSERVER_PORT] = port;
if(!config::server::default_music_bot) {
if(config::server::default_music_bot) {
auto bot = server->musicManager->createBot(0);
if(!bot) {
logCritical(server->getServerId(), "Failed to create default music bot!");