From e80bbe3a623966e5cce69e363e0ca3acbf6196f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Tue, 2 May 2017 21:52:44 -0300 Subject: [PATCH] Fix warning about deprecated call. Fixes #39. --- hooks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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$")