public UnbanTimer(IrcChannel chan, string mask, TimeSpan timeout) { Channel = chan; Mask = mask; m_timer = new Timer(timeout.TotalMilliseconds); m_timer.Elapsed += OnTick; m_timer.AutoReset = false; chan.AddUnbanTimer(this); m_timer.Start(); }