mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
correction de bug message irc pour shout
correction d'une condition toujours fausse qui ne déclenche pas l'affichage du message pour l'option privs shout
This commit is contained in:
parent
69bd6f3445
commit
0f7316f5e9
@ -5,7 +5,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
TIMER = 0
|
TIMER = 0
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
if not minetest.check_player_privs(name, {interact=shout}) then
|
if not minetest.check_player_privs(name, {shout=true}) then
|
||||||
minetest.chat_send_player(name, "Hey " .. name .. " ! Pour pouvoir communiquer avec les autres joueurs sur ce serveur, tu dois lire les règles de l'irc et les accepter. Tape /irc.")
|
minetest.chat_send_player(name, "Hey " .. name .. " ! Pour pouvoir communiquer avec les autres joueurs sur ce serveur, tu dois lire les règles de l'irc et les accepter. Tape /irc.")
|
||||||
minetest.chat_send_player(name, "Hey " .. name .. " ! To speak to other people on this server, you have to read the rules of our irc channel and agree them. Type /irc.")
|
minetest.chat_send_player(name, "Hey " .. name .. " ! To speak to other people on this server, you have to read the rules of our irc channel and agree them. Type /irc.")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user