Selaa lähdekoodia

Invert condition

Zachary Kotlarek 13 vuotta sitten
vanhempi
sitoutus
c3537e3afb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dmx/Audio.pm

+ 1 - 1
dmx/Audio.pm

@@ -215,7 +215,7 @@ sub stop($) {
 
 	# Allow control of all documents or a specific document
 	my $doc = 'every document';
-	if (!loaded($name)) {
+	if (loaded($name)) {
 		$doc = 'document ' . $FILES{$name}->{'name'};
 	}