anope

- supernets anope source code & configuration
git clone git://git.acid.vegas/anope.git
Log | Files | Refs | Archive | README

index.h (512B)

      1 /*
      2  * (C) 2003-2022 Anope Team
      3  * Contact us at team@anope.org
      4  *
      5  * Please read COPYING and README for further details.
      6  */
      7 
      8 #include "modules/httpd.h"
      9 
     10 namespace WebCPanel
     11 {
     12 
     13 class Index : public WebPanelPage
     14 {
     15 	static const int FLUSH_TIME = 60;
     16 
     17 	Anope::hash_map<time_t> last_login_attempt;
     18 	time_t last_clear;
     19 
     20  public:
     21 	Index(const Anope::string &u) : WebPanelPage(u), last_clear(0) { }
     22 
     23 	bool OnRequest(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &) anope_override;
     24 };
     25 
     26 }