diff options
Diffstat (limited to 'src/zenhttp/monitoring/httpstats.cpp')
| -rw-r--r-- | src/zenhttp/monitoring/httpstats.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/zenhttp/monitoring/httpstats.cpp b/src/zenhttp/monitoring/httpstats.cpp index 43260a202..b097a0d3f 100644 --- a/src/zenhttp/monitoring/httpstats.cpp +++ b/src/zenhttp/monitoring/httpstats.cpp @@ -66,8 +66,7 @@ HttpStatsService::HandleRequest(HttpServerRequest& Request) Request.WriteResponse(HttpResponseCode::OK, Cbo.Save()); } - - if (Key[0] == '/') + else if (Key[0] == '/') { Key.remove_prefix(1); size_t SlashPos = Key.find_first_of("/?"); |