Clear text colors before appending timestamps to buffer lines

This commit is contained in:
Reuben Morais
2011-11-04 00:35:35 -02:00
committed by Kyle Fuller
parent 8af35e1fe5
commit 7cdf42d571
+5 -1
View File
@@ -524,7 +524,11 @@ CString CUser::AddTimestamp(time_t tm, const CString& sStr) const {
sRet += " " + sStr;
}
if (m_bAppendTimestamp) {
sRet += " ";
// From http://www.mirc.com/colors.html
// The Control+O key combination in mIRC inserts ascii character 15,
// which turns off all previous attributes, including color, bold, underline, and italics.
sRet += "\x0F ";
sRet += szTimestamp;
}
}