View Single Post
Author Message
janpepu
AlliedModders Donor
Join Date: Sep 2007
Location: france
Old 02-24-2018 , 09:53   How a player is unban ?
Reply With Quote #1

HI,
i check how a player is unban (set expired on the web interface).
Is it this on sourceban plugin or it's set with the web interface.

Code:
public Action:PruneBans(Handle:timer)
{
	decl String:Query[512];
	FormatEx(Query, sizeof(Query),
			"UPDATE %s_bans SET RemovedBy = 0, RemoveType = 'E', RemovedOn = UNIX_TIMESTAMP() WHERE length != '0' AND ends < UNIX_TIMESTAMP()",
			DatabasePrefix);
			
	SQL_TQuery(DB, ErrorCheckCallback, Query);
	return Plugin_Continue;
}
*/
Thx

Last edited by janpepu; 02-24-2018 at 09:53.
janpepu is offline