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

Difference between revisions of "Manualconnect"

From ZNC
Jump to: navigation, search
Line 11: Line 11:
3) znc receives SIGUSR1 signal.
3) znc receives SIGUSR1 signal.
("/znc" is the same as "/msg *status")
"/znc" is the same as "/msg *status"

Latest revision as of 03:55, 28 January 2012

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.


The code for this module can be found at

Follow the guideline in Compiling modules to build it.



This global module takes no arguments.

Read loading modules to learn more about loading modules.

Cautions about rehash[edit]

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


Please contact crocket at crockabiscuit at gmail dot com if you have any questions or suggestions about this module.