mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fixing PHP-Syntax-Error
This commit is contained in:
parent
100742f2a3
commit
bea88516ea
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user