From ba876eeef973edfc1c015ec498c51c22fddeac25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Sat, 22 Dec 2012 18:22:45 -0200 Subject: [PATCH] Fixed /me chat command --- src/chatcmds.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chatcmds.lua b/src/chatcmds.lua index d70fa18..9e592e3 100644 --- a/src/chatcmds.lua +++ b/src/chatcmds.lua @@ -66,7 +66,7 @@ minetest.register_chatcommand("me", { description = "chat action (eg. /me orders a pizza)"; privs = { shout=true }; func = function(name, param) - minetest.chat_send_all("* "..name.." "..param); - mt_irc.send({from=name; action=param;}); + minetest.chat_send_all("* "..name.." "..param); + irc.say(mt_irc.channel, "* "..name.." "..param); end, })