diff options
author | Calinou <calinou9999@gmail.com> | 2012-06-24 23:18:16 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-21 02:27:58 +0300 |
commit | 61e58ee9b75683834819b84a85ba1256e2033c3f (patch) | |
tree | 3d35bb69693976c623519f5c4cda0105b7adb189 /builtin | |
parent | f21af8da9c1ca72b720fc8c2249baa349af84a47 (diff) | |
download | minetest-61e58ee9b75683834819b84a85ba1256e2033c3f.tar.gz minetest-61e58ee9b75683834819b84a85ba1256e2033c3f.tar.bz2 minetest-61e58ee9b75683834819b84a85ba1256e2033c3f.zip |
Message cleanups (consistency) and prevent /me when not allowed to shout
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/chatcommands.lua b/builtin/chatcommands.lua index 9f033aa17..a60d3028f 100644 --- a/builtin/chatcommands.lua +++ b/builtin/chatcommands.lua @@ -41,7 +41,7 @@ end) -- -- Register C++ commands without functions -minetest.register_chatcommand("me", {params = nil, description = "chat action (eg. /me orders a pizza)"}) +minetest.register_chatcommand("me", {params = nil, description = "chat action (eg. /me orders a pizza)", privs = {shout=true}}) minetest.register_chatcommand("status", {description = "print server status line"}) minetest.register_chatcommand("shutdown", {params = "", description = "shutdown server", privs = {server=true}}) minetest.register_chatcommand("clearobjects", {params = "", description = "clear all objects in world", privs = {server=true}}) |