From c9fc8e1ce60f3e2c077c3cb0a28d92bdb6ae193f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 4 Mar 2012 13:42:04 +0100 Subject: [PATCH] Adding missing prefix for ACL-Keys --- file/lib/data/chat/room/ChatRoom.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }