X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FChatLog.php;h=943ce6e659e846effb274ba467c23ecfbd1470ff;hb=6e3215622bf9f57efd9010268ad9e8ef9a913348;hp=8564ff097b55abbe7eb12e4072568222bb60c944;hpb=47d864b96b80abb11fdf8e2fdc8920e93916d5b9;p=alttp.git diff --git a/app/Models/ChatLog.php b/app/Models/ChatLog.php index 8564ff0..943ce6e 100644 --- a/app/Models/ChatLog.php +++ b/app/Models/ChatLog.php @@ -166,7 +166,7 @@ class ChatLog extends Model { } protected function scanForSpam() { - if (is_numeric($text)) { + if (is_numeric($this->text_content)) { return true; } return static::spammyText($this->text_content);