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
1 changed files with 1 additions and 1 deletions

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$")