Ignore:
Timestamp:
09/10/03 06:55:52 (9 years ago)
Author:
jamesoff
Message:

tcl errors when someone reached top flood tier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/flood.tcl

    r250 r251  
    210210 
    211211proc bMotion_flood_check { nick } { 
     212  bMotion_putloglev 3 * "checking flood for $nick" 
    212213  set flood [bMotion_flood_get $nick] 
    213214  set chance 2 
    214215  if {$flood > 35} { 
    215     #sendnote "bMotion" "JamesOff" "bMotion added an ignore on $nick for half an hour" 
    216     set ignorehost [maskhost $host] 
    217     newignore $ignorehost "bMotion" "Flooding bmotion" 30 
    218     #puthelp "NOTICE $nick :Sorry, you're flooding bMotion too much. I'll be ignoring you for a bit." 
    219216    set chance -1 
    220217  } 
     218 
    221219  if {$flood > 25} { 
    222220    set chance -1 
    223221  } 
     222 
    224223  if {$flood > 15} { 
    225224    set chance 1 
Note: See TracChangeset for help on using the changeset viewer.