From bdac12761cd92960c3df83c932aa610f2322215f Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 2 Jul 2017 20:25:22 +0100 Subject: CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand" Original PR: #5747. This reverts commit 39f4a2f607d44738d60db84eba4b30e3d7450204. --- builtin/client/chatcommands.lua | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'builtin/client/chatcommands.lua') diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua index ed43a6140..20f98a293 100644 --- a/builtin/client/chatcommands.lua +++ b/builtin/client/chatcommands.lua @@ -51,15 +51,3 @@ core.register_chatcommand("disconnect", { core.disconnect() end, }) - -core.register_chatcommand("clear_chat_queue", { - description = core.gettext("Clear the out chat queue"), - func = function(param) - core.clear_out_chat_queue() - return true, core.gettext("The out chat queue is now empty") - end, -}) - -function core.run_server_chatcommand(cmd, param) - core.send_chat_message("/" .. cmd .. " " .. param) -end -- cgit v1.2.3