diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-15 21:03:57 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-15 21:03:57 +0100 |
commit | 617379d455250c36aa1e4cd3f24f2016c2cd53b8 (patch) | |
tree | 5e876001e0874feac206cff7bc9d0514ec85a5d1 | |
parent | 6ea1779aa32250a24a2d3601c1e33e58dfe13eed (diff) |
fixed typo, now privs get restored
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ function banish.xunbanish(name, param) xban.add_record(plname, record) beds.spawn[plname] = banish.spawn[plname] beds.save_spawns() - minetest.set_player_privs(param, {interact=true, shout=true, home=true}) + minetest.set_player_privs(plname, {interact=true, shout=true, home=true}) minetest.chat_send_player(name, "Player "..plname.." has been unjailed") end |