Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- znc > 1.6.0
- $zncuser = your znc user
- Load route_replies for every network for every user (and consequently load it for any networks created after this point)
- - On each network: /msg *status loadmod route_replies
- Per https://wiki.znc.in/Clientbuffer#Configuration you want to disable AutoClearChanBuffer and AutoClearQueryBuffer
- - On each user:
- - /msg *status loadmod controlpanel
- - /msg *controlpanel set AutoClearChanBuffer $zncuser false
- - /msg *controlpanel set AutoClearQueryBuffer $zncuser false
- Build the latest/patched clientbuffer module, assuming your ZNC path is ~/.znc, update as necessary. You also need znc-buildmod,
- what package that is in depends on your distro (commonly znc-dev or znc-devel). If you compiled ZNC from source, you already have
- znc-buildmod:
- - mkdir ~/.znc/modules ; cd ~/.znc/modules
- - git clone https://github.com/CyberShadow/znc-clientbuffer.git
- - cd znc-clientbuffer
- - znc-buildmod clientbuffer.cpp
- - cp clientbuffer.so ..
- Load the clientbuffer module
- - On each network:
- - /msg *status loadmod clientbuffer autoadd
- (the 'autoadd' argument negates the need for you to manually '/msg *clientbuffer addclient <clientid>' for each client)
- Make sure your IRC clients all login with a client identifier
- - See https://wiki.znc.in/Clientbuffer#Identifiers and https://wiki.znc.in/ZNC and look for "clientid", ie: username@CLIENTID/network
- - Each clientid you want to have unique history must be a unique name
- - You will need to put a clientid on every client, if you do not on a client the behavior is (TBD)
- - Verify that each clientid is received/identified in *clientbuffer with /msg *clientbuffer listclients
- (each specified clientid should appear in the list, if it doesn't, then your client configuration needs fixing)
- And make sure your config is saved
- - /msg *status saveconfig
- Optional/related info:
- - Set up Playback module
- - Chanfilter might also be of interest for mobile users
- - Backlog is also useful to request additional logs, requires the Log module having logged the data first
Add Comment
Please, Sign In to add comment