diff --git a/file/lib/acp/page/MessageLogDownloadPage.class.php b/file/lib/acp/page/MessageLogDownloadPage.class.php index ffce029..47f8152 100644 --- a/file/lib/acp/page/MessageLogDownloadPage.class.php +++ b/file/lib/acp/page/MessageLogDownloadPage.class.php @@ -21,7 +21,7 @@ class MessageLogDownloadPage extends \wcf\page\AbstractPage { * @see \wcf\page\AbstractPage::$neededPermissions */ public $neededPermissions = array( - 'admin.char.canReadLog' + 'admin.chat.canReadLog' ); public $useTemplate = false; diff --git a/file/lib/acp/page/MessageLogPage.class.php b/file/lib/acp/page/MessageLogPage.class.php index 43d4f7a..74a645b 100644 --- a/file/lib/acp/page/MessageLogPage.class.php +++ b/file/lib/acp/page/MessageLogPage.class.php @@ -21,7 +21,7 @@ class MessageLogPage extends \wcf\page\AbstractPage { * @see \wcf\page\AbstractPage::$neededPermissions */ public $neededPermissions = array( - 'admin.char.canReadLog' + 'admin.chat.canReadLog' ); /** diff --git a/file/lib/data/message/MessageAction.class.php b/file/lib/data/message/MessageAction.class.php index bb2a66a..c85288a 100644 --- a/file/lib/data/message/MessageAction.class.php +++ b/file/lib/data/message/MessageAction.class.php @@ -186,7 +186,7 @@ public function getMessages() { */ public function validateGetMessages() { // check permissions - WCF::getSession()->checkPermissions(array('admin.char.canReadLog')); + WCF::getSession()->checkPermissions(array('admin.chat.canReadLog')); // read parameters $this->readInteger('roomID');