From ae2c01ff4b546c60a39272685327056a2c44c089 Mon Sep 17 00:00:00 2001 From: "Tai @ Flex" Date: Thu, 10 Nov 2016 21:45:17 +0000 Subject: [PATCH] removed redundant logging --- hooks.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hooks.lua b/hooks.lua index 74ce8fc..f74a628 100644 --- a/hooks.lua +++ b/hooks.lua @@ -160,9 +160,7 @@ end function irc.hooks.kick(channel, target, prefix, reason) if target == irc.conn.nick then - local message = "IRC: kicked from "..channel.." by "..prefix.nick.."." - minetest.chat_send_all(message) - irc:logChat(message) + minetest.chat_send_all("IRC: kicked from "..channel.." by "..prefix.nick..".") irc:disconnect("Kicked") else irc:sendLocal(("-!- %s was kicked from %s by %s [%s]")