summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin Crawford <Justasic@Gmail.com>2012-05-16 15:56:38 -0700
committerJustin Crawford <Justasic@Gmail.com>2012-07-06 09:15:48 -0700
commitc79475caa82104e82f9a914b7673bd61f7a1f01f (patch)
treed72fcbd522607fb6bc535af79887b26b6b725f2e /include
parentdef08e968b2ed922d7ee69d92d6754f858d00f57 (diff)
Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h6
-rw-r--r--include/inspircd.h4
2 files changed, 5 insertions, 5 deletions
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.