AFKManager: ignore fakeclients
This commit is contained in:
		
							parent
							
								
									79dec7c33e
								
							
						
					
					
						commit
						05fae38170
					
				| @ -428,11 +428,11 @@ public int Native_GetClientIdleTime(Handle plugin, int numParams) | |||||||
| 		return -1; | 		return -1; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if(IsFakeClient(client)) | 	/*if(IsFakeClient(client)) | ||||||
| 	{ | 	{ | ||||||
| 		ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client."); | 		ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client."); | ||||||
| 		return -1; | 		return -1; | ||||||
| 	} | 	}*/ | ||||||
| 
 | 
 | ||||||
| 	if(!g_Players_bEnabled[client]) | 	if(!g_Players_bEnabled[client]) | ||||||
| 		return 0; | 		return 0; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user