forked from minetest-mods/irc
parent
1d4fd5a162
commit
e80bbe3a62
@ -101,7 +101,7 @@ end
|
|||||||
function irc.hooks.channelChat(msg)
|
function irc.hooks.channelChat(msg)
|
||||||
local text = normalize(msg.args[2])
|
local text = normalize(msg.args[2])
|
||||||
|
|
||||||
irc:check_botcmd(msg)
|
irc.check_botcmd(msg)
|
||||||
|
|
||||||
-- Don't let a user impersonate someone else by using the nick "IRC"
|
-- Don't let a user impersonate someone else by using the nick "IRC"
|
||||||
local fake = msg.user.nick:lower():match("^[il|]rc$")
|
local fake = msg.user.nick:lower():match("^[il|]rc$")
|
||||||
|
Loading…
Reference in New Issue
Block a user