Menu

#61 modtcl.tcl (u)timers thows tcl error

closed-fixed
Modules (21)
2
2009-07-22
2009-07-22
Pixelz
No

The timers and utimers procs in modtcl.tcl, part of znc-extras, throws a tcl error if run when no (u)timers exists. Fixed procs below:

proc utimers {} {set t {}; foreach a [after info] {lappend t "0 [lindex [after info $a] 0] $a"}; return $t}
proc timers {} {set t {}; foreach a [after info] {lappend t "0 [lindex [after info $a] 0] $a"}; return $t}

Discussion

  • Pixelz

    Pixelz - 2009-07-22
    • priority: 5 --> 2
    • assigned_to: prozacx --> silverleo
     
  • SilverLeo

    SilverLeo - 2009-07-22

    This has been fixed and committed to cvs.

     
  • SilverLeo

    SilverLeo - 2009-07-22
    • status: open --> closed-fixed
     

Log in to post a comment.