send the message only to the irc player connected not to all the admins
* this populates so much the irc due spawn message
This commit is contained in:
parent
999c1d0d8f
commit
6dc78f07bc
2
init.lua
2
init.lua
@ -80,7 +80,7 @@ core.register_on_punchplayer(
|
||||
core.chat_send_player(hitter_name, S("You can not hurt a God") )
|
||||
core.chat_send_player(player_name, S("@1 try hurt you", hitter_name) )
|
||||
if core.get_modpath("irc") then
|
||||
irc.saysec(hitter_name.." try hurt to "..player_name)
|
||||
irc.saysec(player_name, hitter_name.." try hurt to "..player_name)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user