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