pl/DisOrder.pm, etc.: Split `load_config' from `connect_to_server'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 10 Jun 2020 15:03:56 +0000 (16:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 10 Jun 2020 15:03:56 +0000 (16:03 +0100)
commitbe626dd5fa368d4adb39458af61a877e100e5b4e
tree2a81475b03c83b3570867c5e2894429116d00a41
parent33edf1fb89d0b4ef7493d3753a2ed12568c46d90
pl/DisOrder.pm, etc.: Split `load_config' from `connect_to_server'.

Now we can read the configuration once and use it throughout the
program.  This is most useful for `disorder-notify watch', which no
longer unexpectedly tracks changes to the password-file symlink when it
reconnects.
bin/disorder-autoplay
bin/disorder-notify
pl/DisOrder.pm