1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fixing PHP-Syntax-Error

This commit is contained in:
Tim Düsterhus 2012-04-30 22:21:39 +02:00
parent 100742f2a3
commit bea88516ea

View File

@ -21,7 +21,7 @@ class ChatMessageEditor extends \wcf\data\DatabaseObjectEditor {
*/
public static function create(array $parameters = array()) {
try {
if (\wcf\util\ChatUtil::nodePushRunning())
if (\wcf\util\ChatUtil::nodePushRunning()) {
$sock = stream_socket_client('unix://'.WCF_DIR.'acp/be.bastelstu.wcf.chat.nodePush/data.sock', $errno, $errstr, 1);
fclose($sock);
}