diff --git a/file/lib/system/command/AbstractUnsuspensionCommand.class.php b/file/lib/system/command/AbstractUnsuspensionCommand.class.php index 63ac11d..abf6d80 100644 --- a/file/lib/system/command/AbstractUnsuspensionCommand.class.php +++ b/file/lib/system/command/AbstractUnsuspensionCommand.class.php @@ -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)) {