summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-03-29 17:45:56 +0100
committerPeter Powell <petpow@saberuk.com>2018-04-22 23:30:41 +0100
commit6d1c1cb51753f986b86b408a5828373d0066624b (patch)
tree8169e18678174ed5b23d643981c10f824642bacb /src/configreader.cpp
parent35c8cde85996e9fe89920acb92a84c5d9bd6aeaf (diff)
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.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 0 insertions, 3 deletions
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())