Skip to content

Commit

Permalink
Oops, forgot to return false
Browse files Browse the repository at this point in the history
  • Loading branch information
src4026 committed Jun 1, 2024
1 parent db6bd60 commit dd3c049
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mods/other/email/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ minetest.register_chatcommand("mail", {
minetest.check_player_privs(to, "basic_privs") then
return email.send_mail(name, to, msg)
else
minetest.chat_send_player(name,
"-!- Because you don't have the permission to speak, you can only mail staff members.")
return false, S("-!- Because you don't have the permission to speak, you can only mail staff members.")
end
else
return false, S("Usage: mail <playername> <some message>")
Expand Down

0 comments on commit dd3c049

Please sign in to comment.