diff options
author | Peter Powell <petpow@saberuk.com> | 2014-06-13 00:09:34 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-25 14:41:01 +0200 |
commit | 1cf85908164d97dfa385c75b9f817905a8a75e78 (patch) | |
tree | dd6598cebcf92d2d78304046960cf3d85ee78e72 /src/modules/m_httpd.cpp | |
parent | da9adf9e29a1e7e0f914b494972013d0c0c35672 (diff) |
Add parameter to InspIRCd::TimeString for UTC time formats.
Missing doc added by @attilamolnar
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r-- | src/modules/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index efd285f8c..bf372f34f 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -185,7 +185,7 @@ class HttpServerSocket : public BufferedSocket WriteData(http_version + " "+ConvToStr(response)+" "+Response(response)+"\r\n"); - rheaders.CreateHeader("Date", InspIRCd::TimeString(ServerInstance->Time(), "%a, %d %b %Y %H:%M:%S GMT")); + rheaders.CreateHeader("Date", InspIRCd::TimeString(ServerInstance->Time(), "%a, %d %b %Y %H:%M:%S GMT", true)); rheaders.CreateHeader("Server", INSPIRCD_BRANCH); rheaders.SetHeader("Content-Length", ConvToStr(size)); |