mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Clear text colors before appending timestamps to buffer lines
This commit is contained in:
committed by
Kyle Fuller
parent
8af35e1fe5
commit
7cdf42d571
+5
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user