diff --git a/application/core/Callbacks/CallbackManager.php b/application/core/Callbacks/CallbackManager.php index 511f222d..5caaeb9a 100644 --- a/application/core/Callbacks/CallbackManager.php +++ b/application/core/Callbacks/CallbackManager.php @@ -192,7 +192,7 @@ class CallbackManager { case 'ManiaPlanet.BeginMatch': $titleId = $this->maniaControl->server->titleId; $titlePrefix = strtolower(substr($titleId, 0, 2)); - if ($titlePrefix != "sm") { + if ($titlePrefix == "sm") { $this->triggerCallback($callbackName, $callback); break; } @@ -203,7 +203,7 @@ class CallbackManager { case 'ManiaPlanet.EndMatch': //TODO temporary fix $titleId = $this->maniaControl->server->titleId; $titlePrefix = strtolower(substr($titleId, 0, 2)); - if ($titlePrefix != "sm") { + if ($titlePrefix == "sm") { $this->triggerCallback($callbackName, $callback); break; }