forked from TeamUlysses/ulib
Merge branch 'master' of https://github.com/Nayruden/Ulysses
This commit is contained in:
commit
7be994f805
@ -906,6 +906,8 @@ end
|
||||
-- Note that this function is hooked into "PlayerAuthed", below.
|
||||
|
||||
local function setupBot( ply )
|
||||
if not ply or not ply:IsValid() then return end
|
||||
|
||||
if not ucl.authed[ ply:UniqueID() ] then
|
||||
ply:SetUserGroup( ULib.ACCESS_ALL, true ) -- Give it a group!
|
||||
ucl.probe( ply )
|
||||
|
Loading…
Reference in New Issue
Block a user