OnPlayerConnect
#4

Add this protection: (Any sort of Length check) using strlen, strlen > somenumber etc..

pawn Код:
if( !strcmp(name,TempBans[id][BannedName]) && strlen(TempBans[id][BannedName]) > 7 )
//I guess that those vars are empty so strcmp returns true.
Reply


Messages In This Thread
OnPlayerConnect - by Kingunit - 12.08.2011, 13:17
Re: OnPlayerConnect - by iPLEOMAX - 12.08.2011, 13:29
Re: OnPlayerConnect - by Kingunit - 12.08.2011, 13:34
Re: OnPlayerConnect - by iPLEOMAX - 12.08.2011, 13:37
Re: OnPlayerConnect - by Kingunit - 12.08.2011, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)