From 004c4cbe5f4c37cf455cb6d0caa434fbbb3406ea Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 2 Jan 2014 11:02:14 -0500 Subject: Move modules out of extras that dont have external dependencies --- modules/extra/webcpanel/template_fileserver.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 modules/extra/webcpanel/template_fileserver.h (limited to 'modules/extra/webcpanel/template_fileserver.h') diff --git a/modules/extra/webcpanel/template_fileserver.h b/modules/extra/webcpanel/template_fileserver.h deleted file mode 100644 index 0d2502e4f..000000000 --- a/modules/extra/webcpanel/template_fileserver.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * (C) 2003-2014 Anope Team - * Contact us at team@anope.org - * - * Please read COPYING and README for further details. - */ - -#include "modules/httpd.h" - -/* A basic file server. Used for serving non-static non-binary content on disk. */ -class TemplateFileServer -{ - Anope::string file_name; - public: - struct Replacements : std::multimap - { - Anope::string& operator[](const Anope::string &key) - { - return insert(std::make_pair(key, ""))->second; - } - }; - - TemplateFileServer(const Anope::string &f_n); - - void Serve(HTTPProvider *, const Anope::string &, HTTPClient *, HTTPMessage &, HTTPReply &, Replacements &); -}; - -- cgit