X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FIRCMessage.php;h=89aa023a1230c2ca74ba108c315a72a8d5b88434;hb=e5192dadab765ecf0cdb877e0497293e0c9f1e45;hp=4fb54c670b7a8890e89af029f6dc9b649efb42cc;hpb=73c29bf37f10df401d87d14cc26999f88ce77379;p=alttp.git diff --git a/app/TwitchBot/IRCMessage.php b/app/TwitchBot/IRCMessage.php index 4fb54c6..89aa023 100644 --- a/app/TwitchBot/IRCMessage.php +++ b/app/TwitchBot/IRCMessage.php @@ -200,7 +200,7 @@ class IRCMessage { } public function isMod() { - return $this->isOwner() || (isset($this->tags['mod']) && $this->tags['mod'] = '1'); + return $this->isOwner() || (isset($this->tags['mod']) && $this->tags['mod'] == '1'); } public function makePong() {