Skip to content
Snippets Groups Projects
Commit e80bbe3a authored by Diego Martínez's avatar Diego Martínez Committed by GitHub
Browse files

Fix warning about deprecated call.

Fixes #39.
parent 1d4fd5a1
No related branches found
No related tags found
No related merge requests found
......@@ -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$")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment