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:
parent
91d7efdd6a
commit
ae2c01ff4b
@ -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]")
|
||||
|
Loading…
Reference in New Issue
Block a user