mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02:00
Get rid of all extra lines, not just the first one
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1387 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ int CBuffer::AddLine(const CString& sPre, const CString& sPost, bool bIncNick) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (size() >= m_uLineCount) {
|
||||
while (size() >= m_uLineCount) {
|
||||
erase(begin());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user