mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
Add space before AppendTimestamp for colorless lines.
Thanks to fred for reporting it.
This commit is contained in:
+2
-2
@@ -547,10 +547,10 @@ CString CUser::AddTimestamp(time_t tm, const CString& sStr) const {
|
||||
// \x1F underline
|
||||
// Also see http://www.visualirc.net/tech-attrs.php
|
||||
if (CString::npos != sRet.find_first_of("\x02\x03\x04\x0F\x12\x16\x1D\x1F")) {
|
||||
sRet += "\x0F ";
|
||||
sRet += "\x0F";
|
||||
}
|
||||
|
||||
sRet += sTimestamp;
|
||||
sRet += " " + sTimestamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user