mirror of
https://github.com/anope/anope.git
synced 2026-06-25 02:06:37 +02:00
c8699c6726
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
27 lines
512 B
C++
27 lines
512 B
C++
/*
|
|
* (C) 2003-2020 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;
|
|
};
|
|
|
|
}
|