diff --git a/hooks.lua b/hooks.lua index 8a4bf97..0ac3597 100644 --- a/hooks.lua +++ b/hooks.lua @@ -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$")