You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$client->poke("[b][color=red]You are globally banned by Nimda ID: #{$response->id}");
68
+
$client->poke("[b][color=red]You are globally banned by Nimda ID: #{$response->ban_id}");
69
69
$client->poke("[b][color=red]Visit [url=#]Global Ban Support[/url].");
70
-
$client->ban(1, "Global Ban ID #{$response->id} ({$response->reason})");
70
+
$client->ban(0, "Global Ban ID #{$response->ban_id} ({$response->reason})");
71
71
}catch(Ts3Exception$e){
72
72
return;
73
73
}
74
74
}
75
75
76
76
if($this->CONFIG['alert'] === true) {
77
-
$message = sprintf("[ALERT] Client %s is global banned ID #%s reason: %s\n", $client, $response->ban_id, $response->reason);
77
+
$message = sprintf("[ALERT] Client %s is global banned ID #%s reason: %s issued Global Ban from: %s\n", $client, $response->ban_id, $response->reason, $response->server_name);
78
78
array_walk(array_map([$this->server, 'serverGroupGetById'], $this->CONFIG['alert_groups']), function($admin) use ($message) {
0 commit comments