8000 Don't treat invalid commands as chat messages · uramer/CoreScripts@0d0e6ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d0e6ca

Browse files
committed
Don't treat invalid commands as chat messages
1 parent 9f41d1d commit 0d0e6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/chatCommandHooks.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ function chatCommandHooks.validator(eventStatus, pid, message)
123123
else
124124
chatCommandHooks.invalidCommand(pid)
125125
end
126-
return customEventHooks.makeEventStatus(false, nil)
127126
else
128127
chatCommandHooks.invalidCommand(pid)
129128
end
130129
end
130+
return customEventHooks.makeEventStatus(false, false)
131131
end
132132
end
133133
end

0 commit comments

Comments
 (0)
0