Bugfix
This commit is contained in:
parent
782bfdf26f
commit
c5f5c6713d
1
init.lua
1
init.lua
|
@ -111,6 +111,7 @@ chat_channels.send_message = function(msg, c)
|
||||||
if c == '@/s' then
|
if c == '@/s' then
|
||||||
minetest.display_chat_message('-' .. c .. '- ' .. msg)
|
minetest.display_chat_message('-' .. c .. '- ' .. msg)
|
||||||
end
|
end
|
||||||
|
return true, 'Message sent!'
|
||||||
elseif prefix == '#' and not channels[c:sub(2)] then
|
elseif prefix == '#' and not channels[c:sub(2)] then
|
||||||
if c == channel then channel = '@' end
|
if c == channel then channel = '@' end
|
||||||
return false, 'The channel ' .. c .. ' does not exist!'
|
return false, 'The channel ' .. c .. ' does not exist!'
|
||||||
|
|
Loading…
Reference in New Issue