Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: znc/znc
base: 83a25c5355f8
...
head fork: znc/znc
compare: da378afe85b1
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Aug 08, 2014
@jpnurmi jpnurmi Fix CChan::SendBuffer()
The CChan::SendBuffer(CClient,CBuffer) overload should just playback
the given buffer and obviously not clear the channel's own buffer
=> auto-clear the buffer in CChan::SendBuffer(CClient) as appropriate.
f238a24
Commits on Aug 09, 2014
@DarthGandalf DarthGandalf Merge pull request #619 from jpnurmi/cchan-sendbuffer
Fix CChan::SendBuffer()
da378af
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/Chan.cpp
View
7 src/Chan.cpp
@@ -527,6 +527,9 @@ CNick* CChan::FindNick(const CString& sNick) {
void CChan::SendBuffer(CClient* pClient) {
SendBuffer(pClient, m_Buffer);
+ if (AutoClearChanBuffer()) {
+ ClearBuffer();
+ }
}
void CChan::SendBuffer(CClient* pClient, const CBuffer& Buffer) {
@@ -575,10 +578,6 @@ void CChan::SendBuffer(CClient* pClient, const CBuffer& Buffer) {
if (pClient)
break;
}
-
- if (AutoClearChanBuffer()) {
- ClearBuffer();
- }
}
}
}

No commit comments for this range

Something went wrong with that request. Please try again.