fix local check
This commit is contained in:
parent
2a204b384f
commit
3bc2034c15
@ -8,7 +8,7 @@ end
|
||||
|
||||
function module.init()
|
||||
for name, func in pairs(commands) do
|
||||
message.setHandler("/" .. name, function(isLocal, _, ...)
|
||||
message.setHandler("/" .. name, function(_, isLocal, ...)
|
||||
if not isLocal then
|
||||
return
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user