mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 05:33:21 +00:00
Add kick reason to db
This commit is contained in:
parent
ff3ba744fd
commit
c3e43d744a
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
@ -124,11 +124,12 @@ public Action OnBanClient(int client, int time, int flags, const char[] reason,
|
|||
}
|
||||
|
||||
g_db.Format(query, sizeof(query), "INSERT INTO bans"
|
||||
..."(steamid, ip, reason, expires, executor, ip_banned)"
|
||||
..."(steamid, ip, reason, public_message, expires, executor, ip_banned)"
|
||||
..."VALUES ('%s', '%s', '%s', FROM_UNIXTIME(%s), '%s', 0)",
|
||||
identity,
|
||||
ip,
|
||||
reason,
|
||||
kick_message,
|
||||
expiresDate,
|
||||
executor
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue