mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Respect LOG_IP_ADDRESS setting
This commit is contained in:
parent
9deab6a0e2
commit
7a49d825ae
@ -203,7 +203,7 @@ public function join() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ipAddress = '';
|
$ipAddress = '';
|
||||||
if ($this->parameters['user']->userID == WCF::getUser()->userID) $ipAddress = \wcf\util\UserUtil::convertIPv6To4(\wcf\util\UserUtil::getIpAddress());
|
if (LOG_IP_ADDRESS && $this->parameters['user']->userID == WCF::getUser()->userID) $ipAddress = \wcf\util\UserUtil::convertIPv6To4(\wcf\util\UserUtil::getIpAddress());
|
||||||
|
|
||||||
// join message
|
// join message
|
||||||
$messageAction = new message\MessageAction(array(), 'create', array(
|
$messageAction = new message\MessageAction(array(), 'create', array(
|
||||||
|
Loading…
Reference in New Issue
Block a user