Show
Ignore:
Timestamp:
11/23/06 10:02:18 (2 years ago)
Author:
james
Message:

fix odd clash with another script or eggdrop itself (when using French)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/complex.tcl

    r726 r744  
    1515set currentlang $bMotionInfo(language) 
    1616set languages [split $bMotionSettings(languages) ","] 
    17 foreach language $languages { 
    18   set bMotionInfo(language) $language 
    19   bMotion_putloglev 2 * "bMotion: loading complex plugins language = $language" 
    20   set files [glob -nocomplain "$bMotionPlugins/$language/complex_*.tcl"] 
     17foreach bMotion_language $languages { 
     18  set bMotionInfo(language) $bMotion_language 
     19  bMotion_putloglev 2 * "bMotion: loading complex plugins language = $bMotion_language" 
     20  set files [glob -nocomplain "$bMotionPlugins/$bMotion_language/complex_*.tcl"] 
    2121  foreach f $files { 
    2222                set count [llength [array names bMotion_plugins_complex]] 
    2323                set bMotion_noplugins 0 
    24     bMotion_putloglev 1 * "bMotion: loading ($language) complex plugin file $f" 
     24    bMotion_putloglev 1 * "bMotion: loading ($bMotion_language) complex plugin file $f" 
    2525    catch { 
    2626      source $f