add is_system method to transient user
This commit is contained in:
parent
a5a7175365
commit
00c56f1417
3
util.lua
3
util.lua
@ -20,6 +20,9 @@ util.TransientUser = {
|
|||||||
is_guest = function (self)
|
is_guest = function (self)
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
is_system = function (self)
|
||||||
|
return false
|
||||||
|
end,
|
||||||
is_logged_in_guest = function (self)
|
is_logged_in_guest = function (self)
|
||||||
return false
|
return false
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user