diff options
| author | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
| commit | 0dba0692f9f88275b7d89d511bf22124217bc4c6 (patch) | |
| tree | f7f7d0672f31ab37a7b15b128a29d454261e8541 /modules/webcpanel | |
| parent | f97e339314257fa37cfcab0c2289fb6812e32e85 (diff) | |
Mark pure virtual functions with anope_abstract
Diffstat (limited to 'modules/webcpanel')
| -rw-r--r-- | modules/webcpanel/webcpanel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webcpanel/webcpanel.h b/modules/webcpanel/webcpanel.h index 771e6b797..67cdac0ba 100644 --- a/modules/webcpanel/webcpanel.h +++ b/modules/webcpanel/webcpanel.h @@ -68,7 +68,7 @@ class WebPanelPage : public HTTPPage { } - virtual bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) = 0; + virtual bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_abstract; }; class WebPanelProtectedPage : public WebPanelPage @@ -134,7 +134,7 @@ class WebPanelProtectedPage : public WebPanelPage return this->OnRequest(provider, page_name, client, message, reply, na, replacements); } - virtual bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, NickServ::Nick *, TemplateFileServer::Replacements &) = 0; + virtual bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, NickServ::Nick *, TemplateFileServer::Replacements &) anope_abstract; /* What get data should be appended to links in the navbar */ virtual std::set<Anope::string> GetData() { return std::set<Anope::string>(); } |
