diff --git a/GameEngine/Message.php b/GameEngine/Message.php index 5e4c45dd..8e86b609 100755 --- a/GameEngine/Message.php +++ b/GameEngine/Message.php @@ -407,7 +407,7 @@ class Message { $userally = $database->getUserField($session->uid,"alliance",0); $permission=mysqli_fetch_array(mysqli_query($database->dblink,"SELECT opt7 FROM ".TB_PREFIX."ali_permission WHERE uid='".$session->uid."'")); - if(WORD_CENSOR) { + if(defined('WORD_CENSOR')) { $topic = $this->wordCensor($topic); $text = $this->wordCensor($text); } @@ -496,7 +496,7 @@ class Message { } // Vulnerability closed by Shadow - if(WORD_CENSOR) { + if(defined('WORD_CENSOR')) { $topic = $this->wordCensor($topic); $text = $this->wordCensor($text); }