mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 20:13:27 +02:00
Account actions rework on ip (Use single column for IP - VARCHAR(45))
This commit is contained in:
@@ -86,8 +86,8 @@ if($email_new_time > 1)
|
||||
}
|
||||
|
||||
$actions = array();
|
||||
foreach($account_logged->getActionsLog(0, 1000) as $action) {
|
||||
$actions[] = array('action' => $action['action'], 'date' => $action['date'], 'ip' => $action['ip'] != 0 ? long2ip($action['ip']) : inet_ntop($action['ipv6']));
|
||||
foreach($account_logged->getActionsLog(1000) as $action) {
|
||||
$actions[] = array('action' => $action['action'], 'date' => $action['date'], 'ip' => $action['ip']);
|
||||
}
|
||||
|
||||
$players = array();
|
||||
|
Reference in New Issue
Block a user