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