added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
This commit is contained in:
David Anderson
2007-08-26 19:41:05 +00:00
parent 07b04432a2
commit ec8413193f
3 changed files with 43 additions and 4 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ native SetAdminFlag(AdminId:id, AdminFlag:flag, bool:enabled);
* @param mode Access mode to check.
* @return True if enabled, false otherwise.
*/
native bool:GetAdminFlag(AdminId:id, AdminFlag:flag, AdmAccessMode:mode);
native bool:GetAdminFlag(AdminId:id, AdminFlag:flag, AdmAccessMode:mode=Access_Effective);
/**
* Returns the bitstring of access flags on an admin.