forked from minetest-mods/irc
Compare commits
2 Commits
ee81559532
...
bb8b755362
Author | SHA1 | Date | |
---|---|---|---|
bb8b755362 | |||
758e9b6361 |
@ -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