summaryrefslogtreecommitdiff
path: root/modules/webcpanel/pages/confirm.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/pages/confirm.h')
-rw-r--r--modules/webcpanel/pages/confirm.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/webcpanel/pages/confirm.h b/modules/webcpanel/pages/confirm.h
index 4c2a824cd..558e54217 100644
--- a/modules/webcpanel/pages/confirm.h
+++ b/modules/webcpanel/pages/confirm.h
@@ -5,17 +5,20 @@
* Please read COPYING and README for further details.
*/
+#pragma once
+
#include "modules/httpd.h"
namespace WebCPanel
{
-class Confirm : public WebPanelPage
+class Confirm final
+ : public WebPanelPage
{
- public:
+public:
Confirm(const Anope::string &u) : WebPanelPage(u) { }
- bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override;
+ bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) override;
};
}