mirror of
https://github.com/minetest-mods/irc.git
synced 2025-06-29 22:50:32 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -171,7 +171,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function irc.hooks.notice(user, target, message)
|
function irc.hooks.notice(user, target, message)
|
||||||
if user.nick and target == irc.config.channel then
|
if user and user.nick and target == irc.config.channel then
|
||||||
irc.sendLocal("-"..user.nick.."@IRC- "..message)
|
irc.sendLocal("-"..user.nick.."@IRC- "..message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user