znc/znc — Issue #116: Feature request : Finer connection control
Author: crocket
Created: 2012-01-28 05:43:12+00:00
State: open

Case 1 : znc automatically connects to networks with IRCConnectEnabled=true in znc.conf, and IRCConnectEnabled is changed to "true" in several cases.

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.

If there was a setting like "AutoConnectOnBoot" which, if set to true, makes znc connect automatically during startup,
users don't have to constantly keep an eye on IRCConnectEnable.

Case 2: znc can disconnect from or connect to networks unexpectedly when you make znc rehash.

If IRCConnectEnabled is false for freenode network in znc.conf and you executed "/znc connect" for freenode network,
when you rehash znc, znc disconnects you from freenode since IRCConnectEnabled is set to false again by rehash.

This can lead to confusions.

Discussion :
The current design can easily confuse users.
If the role of IRCConnectEnabled was restricted and new settings were made for finer control,
users wouldn't experience inconvenience or confusions.