diff options
| author | Adam <Adam@anope.org> | 2012-12-12 00:48:46 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-12-12 00:49:16 -0500 |
| commit | dfff54425b5995f0f4267abbaab7cb420cf18642 (patch) | |
| tree | d7b11f3c2e500f2e626a86ec862c16c60b8aa13f /modules | |
| parent | 0edd26467e6be11fe4ce3785f05bd065d810798a (diff) | |
Fixed webpanel fail on nondebug builds
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/extra/m_httpd.cpp | 2 | ||||
| -rw-r--r-- | modules/extra/webcpanel/webcpanel.h | 2 |
2 files changed, 2 insertions, 2 deletions
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<Anope::string *>("webcpanel_id"), *n_ip = na->GetExt<Anope::string *>("webcpanel_ip"); + Anope::string *n_id = na->GetExt<ExtensibleItemClass<Anope::string> *>("webcpanel_id"), *n_ip = na->GetExt<ExtensibleItemClass<Anope::string> *>("webcpanel_ip"); if (n_id == NULL || n_ip == NULL) return NULL; else if (id != *n_id) |
