Merge pull request #50 from djtb2924/patch-1

Fix mistake in comments and docs
This commit is contained in:
Brett Smith 2019-01-28 10:22:33 -06:00 committed by GitHub
commit e887b40861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ local origIsAdmin = meta.IsAdmin
Function: Player:IsAdmin
Overwrite garry's IsAdmin function to check for membership in admin group. This is so if group "serverowner"
inherits from superadmin, this function will still return true when checking on a member belonging to the
inherits from admin, this function will still return true when checking on a member belonging to the
"serverowner" group.
Returns:
@ -232,7 +232,7 @@ local origIsSuperAdmin = meta.IsSuperAdmin
--[[
Function: Player:IsSuperAdmin
Overwrite garry's IsSuperAdmin function to check for membership in admin group. This is so if group "serverowner"
Overwrite garry's IsSuperAdmin function to check for membership in superadmin group. This is so if group "serverowner"
inherits from superadmin, this function will still return true when checking on a member belonging to the
"serverowner" group.