Skip to content

Commit

Permalink
df_detect call beerchat.on_channel_message (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
S-S-X committed Jun 7, 2022
1 parent 21b3a90 commit 196f56d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions df_detect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ minetest.register_on_joinplayer(function(player)
local msg = "Unsupported client detected: " .. dfv .. " player: " .. name
minetest.log("action", "[beowulf] " .. msg)
if has_beerchat then
beerchat.on_channel_message(beerchat.moderator_channel_name, "DF-Detect", msg)
beerchat.send_on_channel("DF-Detect", beerchat.moderator_channel_name, msg)
end

Expand Down

0 comments on commit 196f56d

Please sign in to comment.