diff --git a/file/lib/data/chat/room/ChatRoom.class.php b/file/lib/data/chat/room/ChatRoom.class.php index 03251e5..bc29a31 100644 --- a/file/lib/data/chat/room/ChatRoom.class.php +++ b/file/lib/data/chat/room/ChatRoom.class.php @@ -138,6 +138,6 @@ public function getUsers() { public function canEnter() { $ph = \wcf\system\chat\permission\ChatPermissionHandler::getInstance(); - return $ph->getPermission($this, 'canEnter') || $ph->getPermission($this, 'canAlwaysEnter'); + return $ph->getPermission($this, 'user.canEnter') || $ph->getPermission($this, 'mod.canAlwaysEnter'); } }