diff options
author | Peter Powell <petpow@saberuk.com> | 2018-12-10 17:27:19 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-12-10 17:27:19 +0000 |
commit | 372c5c94964263ba6c1f2f44079aac3aff448225 (patch) | |
tree | 99215e85427d7124912f3179fca9ff04c5b518de /src/configreader.cpp | |
parent | cb7e83aa4ed48df3e1bb259b26737feaf5a0d676 (diff) |
Fix overly escaping MOTDs if they are in more than one connect class.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index f5a8abb00..ce03f1d9e 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -566,16 +566,6 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) errstr.clear(); errstr.str(std::string()); - // Re-parse our MOTD and RULES files for colors -- Justasic - for (ClassVector::const_iterator it = this->Classes.begin(), it_end = this->Classes.end(); it != it_end; ++it) - { - ConfigTag *tag = (*it)->config; - - ConfigFileCache::iterator file = this->Files.find(tag->getString("motd", "motd")); - if (file != this->Files.end()) - InspIRCd::ProcessColors(file->second); - } - /* No old configuration -> initial boot, nothing more to do here */ if (!old) { |