pull/48/head
Wruczek 8 years ago
parent 0e8b7621ae
commit 123e467910

@ -65,17 +65,17 @@ function getBanlist() {
$user = null;
if (!empty($ban['ip']))
$user = censorIP($ban['ip']->toString());
$user = censorIP((string)$ban['ip']);
if (!empty($ban['lastnickname']))
$user = $ban['lastnickname']->toString();
$user = (string)$ban['lastnickname'];
if (empty($user))
$user = "<i>Unknown</i>";
$reason = $ban['reason'];
$invokername = $ban['invokername']->toString();
$invokername = (string)$ban['invokername'];
$duration = $ban['duration'];
$createdepoch = $ban['created'];
$expiresepoch = $ban['created'] + $duration;

Loading…
Cancel
Save