Instances of this class represent a delayed unbanning, completely self-managed.
Esempio n. 1
0
 internal void AddUnbanTimer(UnbanTimer timer)
 {
     if (!UnbanTimers.ContainsKey(timer.Mask))
     {
         UnbanTimers.Add(timer.Mask, timer);
     }
 }
Esempio n. 2
0
 internal void ElapsUnbanTimer(UnbanTimer timer)
 {
     if (UnbanTimers.ContainsKey(timer.Mask))
     {
         UnbanTimers.Remove(timer.Mask);
         m_irc.CommandHandler.Unban(this, timer.Mask);
     }
 }
Esempio n. 3
0
 internal void ElapsUnbanTimer(UnbanTimer timer)
 {
     if (UnbanTimers.ContainsKey(timer.Mask))
     {
         UnbanTimers.Remove(timer.Mask);
         m_irc.CommandHandler.Unban(this, timer.Mask);
     }
 }
Esempio n. 4
0
 internal void AddUnbanTimer(UnbanTimer timer)
 {
     if (!UnbanTimers.ContainsKey(timer.Mask))
     {
         UnbanTimers.Add(timer.Mask, timer);
     }
 }