diff options
author | Diego MartÃnez <kaeza@users.noreply.github.com> | 2017-02-21 04:45:45 -0300 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2017-02-23 22:48:13 +0000 |
commit | 1049280eeba4d78fed1fdc15a89a5e3d2ecd7357 (patch) | |
tree | b2a95f5ad8ef98c81cd48faa7dfaa5610d910a7c /chat_commands.lua | |
parent | 7fd56ac3d0730482ea9af086c0e8630ac3426af7 (diff) |
Update to new intllib API.
Diffstat (limited to 'chat_commands.lua')
-rw-r--r-- | chat_commands.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chat_commands.lua b/chat_commands.lua index c386c19..3f4ed68 100644 --- a/chat_commands.lua +++ b/chat_commands.lua @@ -14,12 +14,7 @@ -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -- -local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() -else - S = function ( s ) return s end -end +local S = awards.gettext minetest.register_chatcommand("awards", { params = S("[c|clear|disable|enable]"), |