Changeset 251 for trunk/modules/flood.tcl
- Timestamp:
- 09/10/03 06:55:52 (9 years ago)
- File:
-
- 1 edited
-
trunk/modules/flood.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/flood.tcl
r250 r251 210 210 211 211 proc bMotion_flood_check { nick } { 212 bMotion_putloglev 3 * "checking flood for $nick" 212 213 set flood [bMotion_flood_get $nick] 213 214 set chance 2 214 215 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" 30218 #puthelp "NOTICE $nick :Sorry, you're flooding bMotion too much. I'll be ignoring you for a bit."219 216 set chance -1 220 217 } 218 221 219 if {$flood > 25} { 222 220 set chance -1 223 221 } 222 224 223 if {$flood > 15} { 225 224 set chance 1
Note: See TracChangeset
for help on using the changeset viewer.
