forked from jpnurmi/znc-clientbuffer
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't send buffers to unknown clients
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 #6.
- Loading branch information
1 parent
fe0f368
commit d58fd5a
Showing
1 changed file
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters