summaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 30f2ce303..6884cd447 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -100,14 +100,12 @@ class ModuleOpermotd : public Module
{
FileReader reader(conf->getString("file", "opermotd"));
cmd.opermotd = reader.GetVector();
+ InspIRCd::ProcessColors(cmd.opermotd);
}
catch (CoreException&)
{
// Nothing happens here as we do the error handling in ShowOperMOTD.
}
-
- if (conf->getBool("processcolors"))
- InspIRCd::ProcessColors(cmd.opermotd);
}
};