Changeset 360 for binary-improvements/MapRendering/Web/Web.cs
- Timestamp:
- Aug 23, 2020, 9:52:01 AM (4 years ago)
- Location:
- binary-improvements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements
- Property svn:ignore
-
old new 1 1 bin 2 .idea
-
- Property svn:ignore
-
binary-improvements/MapRendering/Web/Web.cs
r352 r360 245 245 } 246 246 } catch (Exception e) { 247 Log.Out ("Error in Web.HandleRequest(): " + e); 247 Log.Error ("Error in Web.HandleRequest(): "); 248 Log.Exception (e); 248 249 } finally { 249 250 if (ctx != null && !ctx.Response.SendChunked) { … … 276 277 if (con != null) { 277 278 _con = con; 278 return GameManager.Instance.adminTools.GetAdminToolsClientInfo (_con.SteamID.ToString ()) 279 .PermissionLevel; 279 return GameManager.Instance.adminTools.GetUserPermissionLevel (_con.SteamID.ToString ()); 280 280 } 281 281 } … … 297 297 WebConnection con = connectionHandler.LogIn (id, _req.RemoteEndPoint.Address); 298 298 _con = con; 299 int level = GameManager.Instance.adminTools.GetAdminToolsClientInfo (id.ToString ()) 300 .PermissionLevel; 299 int level = GameManager.Instance.adminTools.GetUserPermissionLevel (id.ToString ()); 301 300 Log.Out ("Steam OpenID login from {0} with ID {1}, permission level {2}", 302 301 _req.RemoteEndPoint.ToString (), con.SteamID, level);
Note:
See TracChangeset
for help on using the changeset viewer.