| branch | sourcemod-1.1.0 |
| changeset 1715 | f9ecab642e25 |
| parent 1624 | 709b1f973c05 |
1.1 --- a/core/smn_player.cpp Sun Nov 11 20:59:20 2007 +0000 1.2 +++ b/core/smn_player.cpp Fri Nov 23 05:10:33 2007 +0000 1.3 @@ -259,7 +259,7 @@ 1.4 { 1.5 return pContext->ThrowNativeError("Client %d is not connected", client); 1.6 } 1.7 - if (!g_Admins.IsValidAdmin(params[2])) 1.8 + if (!g_Admins.IsValidAdmin(params[2]) && params[2] != INVALID_ADMIN_ID) 1.9 { 1.10 return pContext->ThrowNativeError("AdminId %x is invalid", params[2]); 1.11 }