diff options
author | Attila Molnar <attilamolnar@hush.com> | 2012-07-06 09:21:49 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2012-07-06 09:21:49 -0700 |
commit | e57ab366e6568f6ecf39d301cf81f6fa86d6429a (patch) | |
tree | d72fcbd522607fb6bc535af79887b26b6b725f2e /include | |
parent | def08e968b2ed922d7ee69d92d6754f858d00f57 (diff) | |
parent | c79475caa82104e82f9a914b7673bd61f7a1f01f (diff) |
Merge pull request #127 from Justasic/insp20+color
[2.0] Added processing of color codes into /rules
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 6 | ||||
-rw-r--r-- | include/inspircd.h | 4 |
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. |