Raised This Month: $48 Target: $400
 12% 

How a player is unban ?


Post New Thread Reply   
 
Thread Tools Display Modes
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
RumbleFrog
AlliedModders Donor
Join Date: Dec 2016
Location: US
Old 02-24-2018 , 13:21   Re: How a player is unban ?
Reply With Quote #2

It's checked every time the client connects, that PruneBan function has been commented out 3 years ago

Git blame: https://github.com/sbpp/sourcebans-p..._main.sp#L2052

Last edited by RumbleFrog; 02-24-2018 at 13:22.
RumbleFrog is offline
janpepu
AlliedModders Donor
Join Date: Sep 2007
Location: france
Old 02-27-2018 , 12:10   Re: How a player is unban ?
Reply With Quote #3

thx RumbleFrog
janpepu is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:29.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode