From 6d1c1cb51753f986b86b408a5828373d0066624b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 29 Mar 2018 17:45:56 +0100 Subject: Always process MOTD formatting escape codes. The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more. --- src/configreader.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 7941e4844..c9fa62510 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -624,9 +624,6 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) for (ClassVector::const_iterator it = this->Classes.begin(), it_end = this->Classes.end(); it != it_end; ++it) { ConfigTag *tag = (*it)->config; - // Make sure our connection class allows motd colors - if(!tag->getBool("allowmotdcolors")) - continue; ConfigFileCache::iterator file = this->Files.find(tag->getString("motd", "motd")); if (file != this->Files.end()) -- cgit v1.3.1-10-gc9f91