znc/znc — pull request #114 by crocket (2012-01-28 01:14:01+00:00)
Title: A new global module 'manualconnect' as an extra module.

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.

manualconnect prevents znc from automatically connecting to networks with IRCConnectEnabled=true while znc is started.

This is done by calling SetIRCConnectEnabled(false) for every network in each user in OnBoot.