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.
Manualconnect: Difference between revisions
>Crocket No edit summary |
>Crocket No edit summary |
||
Line 11: | Line 11: | ||
3) znc receives SIGUSR1 signal. | 3) znc receives SIGUSR1 signal. | ||
"/znc" is the same as "/msg *status" | |||
Latest revision as of 03:55, 28 January 2012
This is an external module. Please note that it may or may not work with the current release (1.9.1). This module is not included in the default ZNC installation, and you will need to manually compile it before you can load this module. Contact the author if you have any questions, but feel free to ask in #znc on Libera.Chat. Someone might be able to help you there. |
While znc is started, znc automatically connects to networks with IRCConnectEnabled=true in znc.conf
Even if you set IRCConnectEnabled to false, IRCConnectEnabled could be set to true again in znc.conf for currently connected networks when
1) you execute /znc saveconfig, shutdown, or restart.
2) you save settings in webadmin.
3) znc receives SIGUSR1 signal.
"/znc" is the same as "/msg *status"
manualconnect prevents znc from automatically connecting to networks with IRCConnectEnabled=true while znc is started.
Installing
The code for this module can be found at https://github.com/crocket/znc/blob/manualconnect/modules/extra/manualconnect.cpp
Follow the guideline in Compiling modules to build it.
Usage
Arguments
This global module takes no arguments.
Read loading modules to learn more about loading modules.
Cautions about rehash
Currently, znc rehashes when
1) znc receives SIGHUP signal.
2) you execute "/znc rehash"
If znc rehashes, IRCConnectEnabled settings of the running znc session are overridden by those of znc.conf.
And some networks can be automatically connected or automatically disconnected unexpectedly.
So if you need to rehash, follow the instructions below.
1) Make znc save the settings of the running znc session by executing "/znc saveconfig" or sending SIGUSR1 to znc process.
2) Modify znc.conf if you want to.
3) Make znc rehash
Note
Please contact crocket at crockabiscuit at gmail dot com if you have any questions or suggestions about this module.