summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-29 17:19:21 +0100
committerattilamolnar <attilamolnar@hush.com>2012-10-29 18:27:17 +0100
commit954786c678c411bd28016dcbc2b4d68ca861fb58 (patch)
tree5f0b9689f1f01c9688d99092c64d7966c3b8563c /include/inspircd.h
parent59cafb70e66c176b837770ae4fd21aa578c80bef (diff)
Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function
Change signature to accept a file_cache reference so modules can use it easily
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
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();