From 9d4004e8d477232c143830508a7a6e41fd2d31b7 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Feb 2010 19:03:07 +0000 Subject: Allow opermotd to specify its file in without also requiring an block git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12355 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 00c6a5d7f..a682cd14c 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -21,20 +21,10 @@ class ModuleHttpStats : public Module { static std::map const &entities; - std::string stylesheet; - bool changed; public: - void ReadConfig() - { - ConfigReader c; - this->stylesheet = c.ReadValue("httpstats", "stylesheet", 0); - } - ModuleHttpStats() { - ReadConfig(); - this->changed = true; Implementation eventlist[] = { I_OnEvent }; ServerInstance->Modules->Attach(eventlist, this, 1); } -- cgit v1.3.1-10-gc9f91