1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-11-05 17:50:20 +01:00

Fix warning about deprecated call.

Fixes #39.
This commit is contained in:
Diego Martínez 2017-05-02 21:52:44 -03:00 committed by GitHub
parent 1d4fd5a162
commit e80bbe3a62

View File

@ -101,7 +101,7 @@ end
function irc.hooks.channelChat(msg)
local text = normalize(msg.args[2])
irc:check_botcmd(msg)
irc.check_botcmd(msg)
-- Don't let a user impersonate someone else by using the nick "IRC"
local fake = msg.user.nick:lower():match("^[il|]rc$")