Skip to content

Commit 6ee20fa

Browse files
authored
Merge pull request #3 from Hume2/goodness
add the "goodness" feture
2 parents c4f75f3 + 5eadc4e commit 6ee20fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ end
260260

261261
-- [function] Send prefixed message (if enabled)
262262
function ranks.chat_send(name, message)
263+
if chat_anticurse.goodness then
264+
message = chat_anticurse.goodness(message)
265+
end
263266
if minetest.settings:get("ranks.prefix_chat") ~= "false" then
264267
local rank = ranks.get_rank(name)
265268
if rank then

0 commit comments

Comments
 (0)