#6 Misnamed command reference in channellog160.tcl

closed
nobody
None
5
2005-01-12
2004-01-04
Anonymous
No

On line 534 in the following block of code within
channellog160.tcl...

if {[clock scan "[lindex $tmpdmy 1]/[lindex
$tmpdmy 0]/[lindex $tmpdmy 2]"] > [clock scan "[lindex
$mel_nextswitch 1]/[lindex $mel_nextswitch 0]/[lindex
$mel_nextswitch 2]"]} {
putlog "$mel_longversion We missed the
switch at [ctime [clock scan "[lindex $mel_nextswitch
1]/[lindex $mel_nextswitch 0]/[lindex $mel_nextswitch
2]"]]... switching now..."
mel_switch_logfiles #bad line
set mel_nextswitch [mel_fixdate [clock
format [clock scan "now next $mel_maxdays days"]
-format "%d %m %Y"]]
set mel_write_switch [open
${statsdir}${mel_file_switch_settings} w]
puts $mel_write_switch "$mel_nextswitch
$mel_maxdays"
close $mel_write_switch

..."mel_switch_logfiles" should read "mel_log_switch".
In its incorrect form, the eggdrop bot fails to load
because of an invalid command name
"mel_switch_logfiles" error. Please replace this reference.

Discussion

  • Logged In: YES
    user_id=186608

    Fixed

     
    • status: open --> closed