diff --git a/file/lib/page/ChatPage.class.php b/file/lib/page/ChatPage.class.php index 9241e0c..e55376d 100644 --- a/file/lib/page/ChatPage.class.php +++ b/file/lib/page/ChatPage.class.php @@ -138,7 +138,7 @@ public function readParameters() { */ public function readCommands() { $regex = new \wcf\system\Regex('Command.class.php$'); - $directory = \wcf\utilDirectoryUtil::getInstance(CHAT_DIR.'lib/system/command/commands/', false); + $directory = \wcf\util\DirectoryUtil::getInstance(CHAT_DIR.'lib/system/command/commands/', false); $files = $directory->getFiles(SORT_ASC, $regex); foreach ($files as $file) {