removed redundant logging

This commit is contained in:
Tai @ Flex 2016-11-10 21:45:17 +00:00
parent 91d7efdd6a
commit ae2c01ff4b
1 changed files with 1 additions and 3 deletions

View File

@ -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]")