Trevor Slocum пре 12 година
родитељ
комит
7ffc5da32a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      slang.tcl

+ 1 - 0
slang.tcl

@@ -80,6 +80,7 @@ proc ud::handler {nick uhost hand chan argv} {
 }
 
 proc ud::output {chan def_dict} {
+	set output 0
 	foreach line [ud::split_line $ud::line_length [dict get $def_dict definition]] {
 		if {[incr output] > $ud::max_lines} {
 			if {$ud::show_truncate} {