mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-29 23:56:22 +01:00
Isbanned update
Adds a moderator log, so they can be aware of what happened.
This commit is contained in:
@@ -48,6 +48,7 @@ world/IsBanned(key,address,computer_id)
|
||||
if(banhe == 1)
|
||||
log_access("Failed Login: [src] - Blacklisted IP")
|
||||
message_admins("\blue Failed Login: [src] - Blacklisted IP")
|
||||
message_mods("\blue Failed Login: [src] - Blacklisted IP")
|
||||
AddBan(ckey(key), computer_id, "Bad IP", "Automated Ban", 0, 0)
|
||||
return list("reason"="IP Blacklisted", "desc"="\nReason: This IP has been blacklisted from the server.\nIf you believe this is a mistake, please request help at [config.banappeals]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user