1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-28 09:40:17 +01:00

Fixed /me chat command

This commit is contained in:
Diego Martínez 2012-12-22 18:22:45 -02:00
parent c6bf59e203
commit ba876eeef9

View File

@ -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,
})