1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 03:43:12 +02:00
Files
anope/modules/webcpanel/pages/index.h
T
Robby c5a4e8337c Update copyright to 2021.
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00

27 lines
512 B
C++

/*
* (C) 2003-2021 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*/
#include "modules/httpd.h"
namespace WebCPanel
{
class Index : public WebPanelPage
{
static const int FLUSH_TIME = 60;
Anope::hash_map<time_t> last_login_attempt;
time_t last_clear;
public:
Index(const Anope::string &u) : WebPanelPage(u), last_clear(0) { }
bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override;
};
}