log ban type
This commit is contained in:
parent
0d6623c928
commit
8740d83686
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class IPBan extends Extension
|
|||
$database->Execute($sql, ["ip"=>$event->ip, "mode"=>$event->mode, "reason"=>$event->reason, "expires"=>$event->expires, "admin_id"=>$user->id]);
|
||||
$cache->delete("ip_bans");
|
||||
$cache->delete("network_bans");
|
||||
log_info("ipban", "Banned {$event->ip} because '{$event->reason}' until {$event->expires}");
|
||||
log_info("ipban", "Banned ({$event->mode}) {$event->ip} because '{$event->reason}' until {$event->expires}");
|
||||
}
|
||||
|
||||
public function onRemoveIPBan(RemoveIPBanEvent $event)
|
||||
|
|
Reference in a new issue