CClient::Disconnected() hook #623

Open
opened 2026-10-05 04:34:01 +02:00 by adam · 1 comment
Owner

I'm trying to figure out where module should cleanup memory, when client disconnect before successful authentication.
"Couple" commits ago CClient::Disconnected() was changed. Now OnClientDisconnect is triggered only after successful login.

Current behavior has influence on adminlog behavior. Not everything is logged.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I'm trying to figure out where module should cleanup memory, when client disconnect before successful authentication. "Couple" commits ago CClient::Disconnected() was changed. Now OnClientDisconnect is triggered only after successful login. Current behavior has influence on adminlog behavior. Not everything is logged. ## <bountysource-plugin> Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27544007-cclient-disconnected-hook?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:112309477 -->
Author
Owner
see qermit/znc@33ce0152b5de9b05e5eae4651b2240032b88e6f9 <!-- github-comment-id:149693286 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#623