diff options
Diffstat (limited to 'src/modules/m_httpd_config.cpp')
-rw-r--r-- | src/modules/m_httpd_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_config.cpp b/src/modules/m_httpd_config.cpp index f729b2774..25d2f54bf 100644 --- a/src/modules/m_httpd_config.cpp +++ b/src/modules/m_httpd_config.cpp @@ -34,7 +34,7 @@ class ModuleHttpConfig : public Module, public HTTPRequestEventListener ModResult OnHTTPRequest(HTTPRequest& request) CXX11_OVERRIDE { - if ((request.GetURI() != "/config") && (request.GetURI() != "/config/")) + if ((request.GetPath() != "/config") && (request.GetPath() != "/config/")) return MOD_RES_PASSTHRU; ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Handling request for the HTTP /config route"); |