summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/special/spe_map.erl')
-rw-r--r--src/special/spe_map.erl6
1 files changed, 3 insertions, 3 deletions
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
(