From 372c5c94964263ba6c1f2f44079aac3aff448225 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 10 Dec 2018 17:27:19 +0000 Subject: Fix overly escaping MOTDs if they are in more than one connect class. --- src/configreader.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/configreader.cpp') 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) { -- cgit v1.3.1-10-gc9f91