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:
parent
c6bf59e203
commit
ba876eeef9
@ -66,7 +66,7 @@ minetest.register_chatcommand("me", {
|
|||||||
description = "chat action (eg. /me orders a pizza)";
|
description = "chat action (eg. /me orders a pizza)";
|
||||||
privs = { shout=true };
|
privs = { shout=true };
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
minetest.chat_send_all("* "..name.." "..param);
|
minetest.chat_send_all("* "..name.." "..param);
|
||||||
mt_irc.send({from=name; action=param;});
|
irc.say(mt_irc.channel, "* "..name.." "..param);
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user