git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.2@905 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-06-19 14:56:13 +00:00
parent 661b5eac78
commit 04f335b797

View File

@ -161,7 +161,8 @@ class IPBan extends Extension {
($row['ip'] == $remote)
) {
$admin = $database->get_user_by_id($row['banner_id']);
print "IP <b>{$row['ip']}</b> has been banned by <b>{$admin->name}</b> because of <b>{$row['reason']}</b>";
$date = date("Y-m-d", $row['end']);
print "IP <b>{$row['ip']}</b> has been banned until <b>$date</b> by <b>{$admin->name}</b> because of <b>{$row['reason']}</b>";
$contact_link = $config->get_string("contact_link");
if(!empty($contact_link)) {