From 954786c678c411bd28016dcbc2b4d68ca861fb58 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 29 Oct 2012 17:19:21 +0100 Subject: Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function Change signature to accept a file_cache reference so modules can use it easily --- include/inspircd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index cb4f1558f..b61ef8031 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -711,6 +711,11 @@ class CoreExport InspIRCd */ static void StripColor(std::string &sentence); + /** Parses color codes from string values to actual color codes + * @param input The data to process + */ + static void ProcessColors(file_cache& input); + /** Rehash the local server */ void RehashServer(); -- cgit v1.2.3