From 2c3aa52b642858b85ba756df927ff5730f5ee73d Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 15 Dec 2018 12:24:31 +0100 Subject: ... --- src/special/spe_map.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/special/spe_map.erl') diff --git a/src/special/spe_map.erl b/src/special/spe_map.erl index 1de946b..dbd6c3e 100644 --- a/src/special/spe_map.erl +++ b/src/special/spe_map.erl @@ -24,15 +24,15 @@ grant_additional (OwnerID) -> ataxia_client:add ( map_db, - ataxia_security:any(), - [ataxia_security:user_from_id(OwnerID)], + ataxia_security:only_allow(ataxia_security:any()), + ataxia_security:only_allow(ataxia_security:user_from_id(OwnerID)), Map ), MapSummary = shr_map_summary:new(MapID, <<"Untitled Map">>), PlayerUpdateQueryOp = - ataxic:value + ataxic:update_value ( ataxic:update_field ( -- cgit v1.2.3-70-g09d2