From c79475caa82104e82f9a914b7673bd61f7a1f01f Mon Sep 17 00:00:00 2001 From: Justin Crawford Date: Wed, 16 May 2012 15:56:38 -0700 Subject: Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit --- include/configreader.h | 6 +++++- include/inspircd.h | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index 509ff9c0c..e360d3917 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -568,7 +568,11 @@ class CoreExport ServerConfig void Fill(); - /* Returns true if the given string starts with a windows drive letter + /** Parses color codes from string values to actual color codes + */ + void ProcessColors(ConfigFileCache::iterator &file); + + /** Returns true if the given string starts with a windows drive letter */ bool StartsWithWindowsDriveLetter(const std::string &path); diff --git a/include/inspircd.h b/include/inspircd.h index 2f6fb01f7..78e0c1b3e 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -460,10 +460,6 @@ class CoreExport InspIRCd */ LocalStringExt OperQuit; - /** Holds whether the MOTD has been parsed for color codes - */ - bool ProcessedMotdEscapes; - /** Get the current time * Because this only calls time() once every time around the mainloop, * it is much faster than calling time() directly. -- cgit v1.2.3