To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Clientaway

From ZNC
Revision as of 13:51, 14 March 2013 by Kylef (talk | contribs) (re-phrase)
Jump to navigation Jump to search

Buffers are stored if all your clients are disconnected, or marked as away. This module allows you to send an /away to ZNC marking the client as away. While all your clients are away or disconnected, ZNC will store buffers. These buffers include any channel buffer with AutoClearChanBuffer and private message buffers.

This module has a secondary use, which is auto away. Auto away allows the module to forward your /away to the real server once all clients are away, or all clients are disconnected. If a single client doesn't have the away set, you are not away. Without auto away enabled, any /away sent to the ZNC server will not be forwarded to your IRC server.

This module can be used as a solution for FAQ#How_to_store_private_messages_even_when_user_is_attached.2C_so_other_clients_can_see_them.3F by setting the client as /away.

The source will only work with the latest version of ZNC from git and can be found https://raw.github.com/kylef/znc-contrib/master/clientaway.cpp