summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/pages/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/webcpanel/pages/index.cpp')
-rw-r--r--modules/extra/webcpanel/pages/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/webcpanel/pages/index.cpp b/modules/extra/webcpanel/pages/index.cpp
index c97737c21..6178dab29 100644
--- a/modules/extra/webcpanel/pages/index.cpp
+++ b/modules/extra/webcpanel/pages/index.cpp
@@ -11,9 +11,9 @@ class WebpanelRequest : public IdentifyRequest
{
HTTPReply reply;
HTTPMessage message;
- dynamic_reference<HTTPProvider> server;
+ Reference<HTTPProvider> server;
Anope::string page_name;
- dynamic_reference<HTTPClient> client;
+ Reference<HTTPClient> client;
TemplateFileServer::Replacements replacements;
public:
@@ -23,7 +23,7 @@ class WebpanelRequest : public IdentifyRequest
{
if (!client)
return;
- NickAlias *na = findnick(this->GetAccount());
+ NickAlias *na = NickAlias::Find(this->GetAccount());
if (!na)
{
this->OnFail();