diff options
Diffstat (limited to 'modules/m_httpd.cpp')
-rw-r--r-- | modules/m_httpd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/m_httpd.cpp b/modules/m_httpd.cpp index 193da975a..6e72c3581 100644 --- a/modules/m_httpd.cpp +++ b/modules/m_httpd.cpp @@ -1,6 +1,6 @@ /* * - * (C) 2003-2017 Anope Team + * (C) 2003-2018 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -199,7 +199,7 @@ class MyHTTPClient : public HTTPClient this->page = this->provider->FindPage(targ); this->page_name = targ; } - else if (buf.find("Cookie: ") == 0) + else if (buf.find_ci("Cookie: ") == 0) { spacesepstream sep(buf.substr(8)); Anope::string token; @@ -215,7 +215,7 @@ class MyHTTPClient : public HTTPClient this->message.cookies[token.substr(0, sz)] = token.substr(sz + 1, end); } } - else if (buf.find("Content-Length: ") == 0) + else if (buf.find_ci("Content-Length: ") == 0) { try { |