Changeset 1019 for trunk/plugins/en/output_VERB.tcl
- Timestamp:
- 08/23/09 19:22:05 (3 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/output_VERB.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/output_VERB.tcl
r961 r1019 1 #2 #3 1 # vim: fdm=indent fdn=1 4 2 # … … 18 16 proc bMotion_plugin_output_VERB { channel line } { 19 17 20 set previous_line "" 21 22 while {[regexp -nocase "%VERB\{(.*?)\}" $line matches BOOM]} { 18 if {[regexp -nocase "%VERB\{(.*?)\}" $line matches BOOM]} { 23 19 regsub -nocase "%VERB\{$BOOM\}" $line [bMotionMakeVerb $BOOM] line 24 if {$line == $previous_line} {25 putlog "bMotion: ALERT! looping too much in %VERB code with $line (no change since last parse)"26 set line ""27 break28 }29 set previous_line $line30 20 } 31 21
Note: See TracChangeset
for help on using the changeset viewer.
