Changeset 932 for trunk

Show
Ignore:
Timestamp:
30/06/2008 15:55:33 (5 months ago)
Author:
james
Message:

fix long-broken code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/complex_smiley.tcl

    r884 r932  
    2525  if {![bMotion_interbot_me_next $channel]} { return 0 } 
    2626 
    27   foreach i {"smiley" "smiley2" "smiley3" "smiley4" "smiley5"} { 
     27  foreach i {"smiley" "smiley2"} { 
    2828        bMotion_putloglev 2 * "checking $i" 
    2929         
    30     if {[bMotion_plugin_history_check $channel "complex" $i]} { 
    31           return 0 
     30                if {[bMotion_plugin_history_check $channel "complex" "bMotion_plugin_complex_$i"]} { 
     31                        bMotion_putloglev 2 * "can't trigger a smiley so soon" 
     32                        return 0 
     33                } 
    3234        } 
    33   } 
    3435 
    3536  if {$mood(happy) < 0} {