1
0
mirror of https://github.com/minetest-mods/irc.git synced 2025-02-11 14:20:22 +01:00

removed redundant logging

This commit is contained in:
Tai @ Flex 2016-11-10 21:45:17 +00:00
parent 91d7efdd6a
commit ae2c01ff4b

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