diff --git a/file/lib/system/command/commands/InfoCommand.class.php b/file/lib/system/command/commands/InfoCommand.class.php index 4f01ce0..b1c6b47 100644 --- a/file/lib/system/command/commands/InfoCommand.class.php +++ b/file/lib/system/command/commands/InfoCommand.class.php @@ -48,7 +48,7 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler) if (WCF::getSession()->getPermission('admin.user.canViewIpAddress')) { $session = $this->fetchSession(); if ($session) { - $this->lines[WCF::getLanguage()->get('wcf.user.ipAddress')] = $session->ipAddress; + $this->lines[WCF::getLanguage()->get('wcf.user.ipAddress')] = \wcf\util\UserUtil::convertIPv6To4($session->ipAddress); } }