Ignore:
Timestamp:
Jun 19, 2016, 1:52:31 PM (8 years ago)
Author:
alloc
Message:

Mod stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/Handlers/ApiHandler.cs

    r251 r279  
    4040                private void addApi (string _apiName, WebAPI _api) {
    4141                        apis.Add (_apiName, _api);
    42                         WebPermissions.Instance.AddKnownModule ("webapi." + _apiName);
     42                        WebPermissions.Instance.AddKnownModule ("webapi." + _apiName, _api.DefaultPermissionLevel ());
    4343                }
    4444
Note: See TracChangeset for help on using the changeset viewer.