static void ServerRehash(object sender, RehashEventArgs e) { var settings = new Settings(); settings.setDaemon(e.IrcDaemon); settings.LoadSettings(); }
public static void Start() { var settings = new Settings(); var ircDaemon = new IrcDaemon(settings.GetIrcMode()); settings.setDaemon(ircDaemon); settings.LoadSettings(); ircDaemon.ServerRehash += ServerRehash; var serverThread = new Thread(ircDaemon.Start); serverThread.IsBackground = false; serverThread.Name = "serverThread-1"; serverThread.Start(); }
public static void Start() { var settings = new Settings (); var ircDaemon = new IrcDaemon (settings.GetIrcMode ()); settings.setDaemon (ircDaemon); settings.LoadSettings (); ircDaemon.ServerRehash += ServerRehash; var serverThread = new Thread (ircDaemon.Start); serverThread.IsBackground = false; serverThread.Name = "serverThread-1"; serverThread.Start (); }
static void ServerRehash(object sender, RehashEventArgs e) { var settings = new Settings (); settings.setDaemon (e.IrcDaemon); settings.LoadSettings (); }