This commit is contained in:
rubenwardy 2015-12-18 02:30:07 +00:00
parent 15d4e21c61
commit ed6d75b582

View file

@ -209,7 +209,12 @@ end
-- Minetest callbacks -- Minetest callbacks
minetest.register_on_chat_message(chatplus.send) minetest.register_on_chat_message(function(...)
local ret = chatplus.send(...)
if ret and minetest.global_exists("irc") then
irc.on_chatmessage(...)
end
end)
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)
chatplus.log(player:get_player_name() .. " joined") chatplus.log(player:get_player_name() .. " joined")
end) end)