Removed prefix from irc
Because there is no good way to add a prefix before the name without changing the irc.playerMessage function.
This commit is contained in:
parent
ece7c857f7
commit
e99643709f
2
init.lua
2
init.lua
@ -248,7 +248,7 @@ function ranks.chat_send(name, message)
|
||||
if nl then
|
||||
message = message:sub(1, nl - 1)
|
||||
end
|
||||
irc.say(irc.playerMessage(name, minetest.strip_colors("[" .. prefix .. "] " .. message)))
|
||||
irc.say(irc.playerMessage(name, minetest.strip_colors(message)))
|
||||
end
|
||||
minetest.chat_send_all(prefix.." <"..name.."> "..message)
|
||||
minetest.log("action", "CHAT: ".."<"..name.."> "..message)
|
||||
|
Loading…
Reference in New Issue
Block a user