diff options
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_opermotd.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_showfile.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index 284043f4e..91453106a 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -118,9 +118,9 @@ private: // Some clients can not handle receiving RPL_OMOTD with an empty // trailing parameter so if a line is empty we replace it with // a single space. + InspIRCd::ProcessColors(line); newmotd.push_back(line.empty() ? " " : line); } - InspIRCd::ProcessColors(newmotd); } public: diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp index 82cb7abe0..38d164547 100644 --- a/src/modules/m_showfile.cpp +++ b/src/modules/m_showfile.cpp @@ -103,9 +103,9 @@ public: // Some clients can not handle receiving NOTICE/PRIVMSG/RPL_RULES // with an empty trailing parameter so if a line is empty we // replace it with a single space. + InspIRCd::ProcessColors(line); contents.push_back(line.empty() ? " " : line); } - InspIRCd::ProcessColors(contents); contents.shrink_to_fit(); } }; |
