Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Don't send buffers to unknown clients #16

Closed
wants to merge 1 commit into from

Conversation

CyberShadow
Copy link

@CyberShadow CyberShadow commented Apr 27, 2017

Fixes #17

Whenever autoadd is not enabled and an unknown client connects to ZNC,
ZNC will proceed to indiscriminately send the contents of all buffers
to the client. However, this behaviour keeps repeating each time the
clients connects again: as this module is expected to be used with
AutoClearChanBuffer and AutoClearQueryBuffer both off, the buffers
aren't cleared, and ClientBuffer does not prevent ZNC from re-sending
the buffers on each client connect.

ClientBuffer should instead prevent ZNC from sending buffer contents
to unidentified clients.

Fixes jpnurmi#17.
@CyberShadow
Copy link
Author

Closing, since my fork is now the project's main repository.

@CyberShadow CyberShadow closed this Oct 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant