Permalink
Browse files

Add space before AppendTimestamp for colorless lines.

Thanks to fred for reporting it.
  • Loading branch information...
DarthGandalf committed Sep 7, 2012
1 parent dbc3ca2 commit 38ff2a940059d04844fba0b6a6d12454a9d67f80
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/User.cpp
View
@@ -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;
}
}

0 comments on commit 38ff2a9

Please sign in to comment.