From dfff54425b5995f0f4267abbaab7cb420cf18642 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 12 Dec 2012 00:48:46 -0500 Subject: Fixed webpanel fail on nondebug builds --- modules/extra/m_httpd.cpp | 2 +- modules/extra/webcpanel/webcpanel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/extra/m_httpd.cpp b/modules/extra/m_httpd.cpp index 1c42a0d11..616fc61a9 100644 --- a/modules/extra/m_httpd.cpp +++ b/modules/extra/m_httpd.cpp @@ -136,7 +136,7 @@ class MyHTTPClient : public HTTPClient if (sz == Anope::string::npos || !sz || sz + 1 >= token.length()) continue; this->header.post_data[token.substr(0, sz)] = HTTPUtils::URLDecode(token.substr(sz + 1)); - Log(LOG_DEBUG_2) << "HTTP POST from " << this->clientaddr.addr() << ": " << token.substr(0, sz) << ": " << this->header.post_data[token.substr(0, sz)]; + Log(LOG_DEBUG_2) << "HTTP POST from " << this->clientaddr.addr() << ": " << token.substr(0, sz) << ": " << this->header.post_data[token.substr(0, sz)]; } this->Serve(); diff --git a/modules/extra/webcpanel/webcpanel.h b/modules/extra/webcpanel/webcpanel.h index 27b8ce67a..4ba6a7f65 100644 --- a/modules/extra/webcpanel/webcpanel.h +++ b/modules/extra/webcpanel/webcpanel.h @@ -50,7 +50,7 @@ class Panel : public Section, public Service if (na == NULL) return NULL; - Anope::string *n_id = na->GetExt("webcpanel_id"), *n_ip = na->GetExt("webcpanel_ip"); + Anope::string *n_id = na->GetExt *>("webcpanel_id"), *n_ip = na->GetExt *>("webcpanel_ip"); if (n_id == NULL || n_ip == NULL) return NULL; else if (id != *n_id) -- cgit