X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FTwitchBot%2FIRCMessage.php;h=89aa023a1230c2ca74ba108c315a72a8d5b88434;hb=7649d12f400f164dd06f6a45486221234052dbb6;hp=4fb54c670b7a8890e89af029f6dc9b649efb42cc;hpb=7fc357a5943bf280ce2fa9aa97ec516af61efd69;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() {