Permalink
Browse files

Just some small comment explaing some craziness

Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information...
1 parent 962c107 commit a97abc53f78ec27645d07957363424cba945903c @psychon psychon committed Oct 30, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/znc/Buffer.h
View
@@ -54,6 +54,7 @@ class CBuffer : private deque<CBufLine> {
/// Same as AddLine, but replaces a line whose format string starts with sMatch if there is one.
int UpdateLine(const CString& sMatch, const CString& sFormat, const CString& sText = "");
/// Same as UpdateLine, but does nothing if this exact line already exists.
+ /// We need this because "/version" sends us the 005 raws again
int UpdateExactLine(const CString& sFormat, const CString& sText = "");
const CBufLine& GetBufLine(unsigned int uIdx) const;
CString GetLine(unsigned int uIdx, const CClient& Client, const MCString& msParams = MCString::EmptyMap) const;

0 comments on commit a97abc5

Please sign in to comment.