diff options
-rw-r--r-- | builtin/game/chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/chatcommands.lua b/builtin/game/chatcommands.lua index f05ca0bfd..b2a49863e 100644 --- a/builtin/game/chatcommands.lua +++ b/builtin/game/chatcommands.lua @@ -29,7 +29,7 @@ core.register_on_chat_message(function(name, message) core.set_last_run_mod(cmd_def.mod_origin) local _, result = cmd_def.func(name, param) if result then - core.chat_send_player(name, message) + core.chat_send_player(name, result) end else core.chat_send_player(name, "You don't have permission" |