This commit is contained in:
luk3yx 2018-07-31 07:39:59 +12:00
parent 782bfdf26f
commit c5f5c6713d
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ chat_channels.send_message = function(msg, c)
if c == '@/s' then
minetest.display_chat_message('-' .. c .. '- ' .. msg)
end
return true, 'Message sent!'
elseif prefix == '#' and not channels[c:sub(2)] then
if c == channel then channel = '@' end
return false, 'The channel ' .. c .. ' does not exist!'