forked from TeamUlysses/ulib
[FIX] ULib.ucl.registerAccess not allowing an access tag to be registered to no groups.
This commit is contained in:
parent
900febcab8
commit
65c7afb53f
@ -1,6 +1,6 @@
|
||||
Title: ULib Readme
|
||||
|
||||
*ULib v2.51 (released 08/30/13)*
|
||||
*ULib v2.52 (released 00/00/00)*
|
||||
|
||||
ULib is a developer library for GMod 10 (<http://garrysmod.com/>).
|
||||
|
||||
@ -44,6 +44,9 @@ After installing ULib correctly, scripts that take advantage of ULib will take c
|
||||
Rest easy!
|
||||
|
||||
Group: Changelog
|
||||
v2.52 - *(00/00/00)*
|
||||
* [FIX] ULib.ucl.registerAccess not allowing an access tag to be registered to no groups.
|
||||
|
||||
v2.51 - *(08/30/13)*
|
||||
* [FIX] ULib.ucl.userAllow not working on disconnected players (Thanks, JackYack13).
|
||||
* [FIX] Issue with setting groups with capitals in the group name (Thanks, FPtje!).
|
||||
|
@ -801,6 +801,7 @@ function ucl.registerAccess( access, groups, comment, category )
|
||||
|
||||
access = access:lower()
|
||||
comment = comment or ""
|
||||
if groups == nil then groups = {} end
|
||||
if type( groups ) == "string" then
|
||||
groups = { groups }
|
||||
end
|
||||
|
@ -7,7 +7,7 @@
|
||||
ULib = ULib or {}
|
||||
|
||||
|
||||
ULib.VERSION = 2.51
|
||||
ULib.VERSION = 2.52
|
||||
|
||||
ULib.ACCESS_ALL = "user"
|
||||
ULib.ACCESS_OPERATOR = "operator"
|
||||
|
Loading…
Reference in New Issue
Block a user