1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-02 23:20:08 +00:00

Merge branch '3.0.x'

This commit is contained in:
Tim Düsterhus 2015-05-04 20:03:50 +02:00
commit f3f63eb909

View File

@ -63,7 +63,7 @@ public function checkPermission() {
$ph = new \chat\system\permission\PermissionHandler();
if (static::IS_GLOBAL) {
WCF::getSession()->checkPermission(array('mod.chat.canG'.static::SUSPENSION_TYPE));
WCF::getSession()->checkPermissions(array('mod.chat.canG'.static::SUSPENSION_TYPE));
}
else {
if (!WCF::getSession()->getPermission('mod.chat.canG'.static::SUSPENSION_TYPE)) {