X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fconfigreader.cpp;h=ce03f1d9eb62d0faf85d7ee703cdeb42b9e7136d;hb=f4041a13c3894e282fb34010f3373d1950136a8c;hp=f5a8abb0004a51704cc184fbb5c0ad125b8b1833;hpb=a4c1b1f4fcfd9cd967bf326afbbada3d91f9da34;p=user%2Fhenk%2Fcode%2Finspircd.git 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) {