| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-08-29 16:46:13 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-08-29 16:46:13 +0200 | 
| commit | e1c7e78b4b4db2f818226faf58efff82fbdfeeaa (patch) | |
| tree | 40bcb27bcb157ac0301681ef365892a78efe904a /src/map/query | |
| parent | 9ffa08c3aad8e4f40b7f7d1e7845e5153f9c34ab (diff) | |
Updates TODOs, handles max health changes.
Diffstat (limited to 'src/map/query')
| -rw-r--r-- | src/map/query/map_update.erl | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/map/query/map_update.erl b/src/map/query/map_update.erl index 4c38ddf..a4e4038 100644 --- a/src/map/query/map_update.erl +++ b/src/map/query/map_update.erl @@ -47,7 +47,7 @@ parse_input (Req) ->     MapHeight = maps:get(<<"h">>, JSONReqMap),     MapContent = maps:get(<<"t">>, JSONReqMap), -   %% TODO: those checks should be done while queries are locked. +   %% TODO [LOW]: those checks should be done while queries are locked.     true = (MapWidth > 0),     true = (MapHeight > 0),     true = (length(MapContent) == (MapWidth * MapHeight)), @@ -64,7 +64,8 @@ parse_input (Req) ->                 lists:all                 (                    fun (Bo) -> -                     %% FIXME: this does not prevent "Error" tiles. +                     %% FIXME [SECURITY][LOW]: this does not prevent "Error" +                     %% tiles.                       (Bo >= 0)                    end,                    B | 


