summaryrefslogtreecommitdiff
path: root/modules/webcpanel/pages/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel/pages/index.h')
-rw-r--r--modules/webcpanel/pages/index.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webcpanel/pages/index.h b/modules/webcpanel/pages/index.h
index fb7f759f9..715fc72ec 100644
--- a/modules/webcpanel/pages/index.h
+++ b/modules/webcpanel/pages/index.h
@@ -15,10 +15,10 @@ 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 &) override;
};