diff options
Diffstat (limited to 'lib/Chat/Parser/Changelog.php')
-rw-r--r-- | lib/Chat/Parser/Changelog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/Parser/Changelog.php b/lib/Chat/Parser/Changelog.php index 12e515adc..2f6621848 100644 --- a/lib/Chat/Parser/Changelog.php +++ b/lib/Chat/Parser/Changelog.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com> @@ -31,7 +32,6 @@ class Changelog { * @throws \OutOfBoundsException */ public function parseMessage(Message $chatMessage): void { - if ($chatMessage->getActorType() !== 'guests' || $chatMessage->getActorId() !== 'changelog') { throw new \OutOfBoundsException('Not a changelog'); |