1
0
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:
Tim Düsterhus 2012-04-30 21:14:25 +02:00
parent 3ba9cf7143
commit bdf019b332

View File

@ -47,7 +47,7 @@ public function __construct(\wcf\system\chat\command\CommandHandler $commandHand
$session = $this->fetchSession($user); $session = $this->fetchSession($user);
if ($session) { if ($session) {
// TODO: Check permission // TODO: Check permission
$this->lines['IP_ADDRESS'] = $session->ipAddress; $this->lines[WCF::getLanguage()->get('wcf.user.ipAddress')] = $session->ipAddress;
} }
$this->didInit(); $this->didInit();