diff options
Diffstat (limited to 'modules/webcpanel/pages/index.h')
-rw-r--r-- | modules/webcpanel/pages/index.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/webcpanel/pages/index.h b/modules/webcpanel/pages/index.h index c0386e4d5..715fc72ec 100644 --- a/modules/webcpanel/pages/index.h +++ b/modules/webcpanel/pages/index.h @@ -15,12 +15,12 @@ class Index : public WebPanelPage static const int FLUSH_TIME = 60; Anope::hash_map<time_t> last_login_attempt; - time_t last_clear; + time_t last_clear = 0; public: - Index(const Anope::string &u) : WebPanelPage(u), last_clear(0) { } + Index(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; }; } |