diff --git a/pandora_server/bin/pandora_server b/pandora_server/bin/pandora_server index 1af326583e..3528fa0686 100755 --- a/pandora_server/bin/pandora_server +++ b/pandora_server/bin/pandora_server @@ -513,7 +513,7 @@ sub main() { pandora_startup (); # Start thread to execute server tasks on the master server - threads->create('pandora_server_tasks', (\%Config))->detach() if ($pa_config->{"pandora_master"} == 1); + threads->create('pandora_server_tasks', (\%Config))->detach() if ($Config{"master"} == 1); # Generate 'going up' events foreach my $server (@Servers) {