summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/pages/index.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
committerAdam <Adam@anope.org>2012-11-22 00:50:33 -0500
commitd33a0f75a5c0c584fbb7cc0076da36d494f39494 (patch)
tree7b2274cc833c793c0f5595660cbd4d715de52ffd /modules/extra/webcpanel/pages/index.cpp
parent368d469631763e9c8bf399980d0ac7c5b5664d39 (diff)
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
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();