From f09ad2ea458d0347b4f118a76fe3ac9c40497664 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sat, 8 Nov 2014 23:58:50 +0100 Subject: [PATCH] Just a little modification - Removing a "end", source of problems, which means that _misc now works. --- mods/_misc/irc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/_misc/irc.lua b/mods/_misc/irc.lua index c33f8e96..37c994e3 100644 --- a/mods/_misc/irc.lua +++ b/mods/_misc/irc.lua @@ -60,7 +60,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) local privs = minetest.get_player_privs(name) privs.shout = true minetest.set_player_privs(name, privs) - end + --end return elseif fields.decline then minetest.kick_player(name, "Aurevoir ! Vous devez accepter les règles de l'irc pour jouer sur le serveur (revennez si vous changez d'avis).")