Implement irccd::load function
Create a brand new
irccd::load function that loads plugins, servers, transports, loggers.
Make this function smart enough so it can be called on the fly to reload the daemon.
If a server is already connected, do the following:
- Update the nickname
- Update connection information (host, port, flags)
Currently not possible to reload on the fly as there is no way to determine a transport once built.
- If a plugin is not loaded, load it
- If a plugin is loaded, update its config, format and paths
Replace the existing logger.
Replace all rules.