aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2017-07-02 20:25:22 +0100
committerparamat <mat.gregory@virginmedia.com>2017-07-15 01:35:18 +0100
commitbdac12761cd92960c3df83c932aa610f2322215f (patch)
tree7ad88805fa39af7d5622965e9152072d03f3cb8a /builtin
parenta5c37717ffea387f8aa694f22ccc2f2f449826ac (diff)
downloadminetest-bdac12761cd92960c3df83c932aa610f2322215f.tar.gz
minetest-bdac12761cd92960c3df83c932aa610f2322215f.tar.bz2
minetest-bdac12761cd92960c3df83c932aa610f2322215f.zip
CSM: Revert "[CSM] Add send_chat_message and run_server_chatcommand"
Original PR: #5747. This reverts commit 39f4a2f607d44738d60db84eba4b30e3d7450204.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/client/chatcommands.lua12
-rw-r--r--builtin/settingtypes.txt3
2 files changed, 0 insertions, 15 deletions
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
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 3f9163be9..8243ea794 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -315,9 +315,6 @@ serverlist_url (Serverlist URL) string servers.minetest.net
# File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab.
serverlist_file (Serverlist file) string favoriteservers.txt
-# Maximum size of the out chat queue. 0 to disable queueing and -1 to make the queue size unlimited
-max_out_chat_queue_size (Maximum size of the out chat queue) int 20
-
[*Graphics]
[**In-Game]