]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd.cpp
Fix the ctctags module being marked as a draft.
[user/henk/code/inspircd.git] / src / modules / m_httpd.cpp
index 78c25f6d920c799fe9ab545376dec4930980e248..f9e5bc0fdca282acb328208c51deef4780847e02 100644 (file)
@@ -40,7 +40,7 @@
 #endif
 
 // Fix warnings about shadowing in http_parser.
-#ifdef _GNUC
+#ifdef __GNUC__
 # pragma GCC diagnostic ignored "-Wshadow"
 #endif
 
@@ -229,7 +229,7 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru
                HTTPHeaders empty;
                std::string data = InspIRCd::Format(
                        "<html><head></head><body>Server error %u: %s<br>"
-                       "<small>Powered by <a href='http://www.inspircd.org'>InspIRCd</a></small></body></html>", response, http_status_str((http_status)response));
+                       "<small>Powered by <a href='https://www.inspircd.org'>InspIRCd</a></small></body></html>", response, http_status_str((http_status)response));
 
                SendHeaders(data.length(), response, empty);
                WriteData(data);