mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Adding language item for IP-Address
This commit is contained in:
parent
3ba9cf7143
commit
bdf019b332
@ -47,7 +47,7 @@ public function __construct(\wcf\system\chat\command\CommandHandler $commandHand
|
||||
$session = $this->fetchSession($user);
|
||||
if ($session) {
|
||||
// TODO: Check permission
|
||||
$this->lines['IP_ADDRESS'] = $session->ipAddress;
|
||||
$this->lines[WCF::getLanguage()->get('wcf.user.ipAddress')] = $session->ipAddress;
|
||||
}
|
||||
|
||||
$this->didInit();
|
||||
|
Loading…
Reference in New Issue
Block a user