Explorar o código

Update BT.TopWords.tcl

Daniel Voipan %!s(int64=5) %!d(string=hai) anos
pai
achega
622349b2ce
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      BlackTools/Modules/BT.TopWords.tcl

+ 0 - 2
BlackTools/Modules/BT.TopWords.tcl

@@ -85,7 +85,6 @@ if {[matchattr $user -|w $chan]} {
 proc topwords:process {nick host hand chan chan1 cmd type next} {
 global botnick black username
 	set topwords_file "$black(dirname)/BlackTools/FILES/TOPWORDS/$username.$chan.txt"
-if {![file exists $topwords_file]} {return}
 	set cmd_status [btcmd:status $chan $hand "topwords" 0]
 if {$cmd_status == "1"} { 
 	return 
@@ -398,7 +397,6 @@ proc topwords:module {nick host hand chan arg} {
 	global black username
 	set arg [split $arg]
 	set topwords_file "$black(dirname)/BlackTools/FILES/TOPWORDS/$username.$chan.txt"
-if {![file exists $topwords_file]} {return}
 	set mask [return_mask [return_host_num "topwords" $chan $host] $host $nick]
 	set handle [nick2hand $nick]
 	set topwords_run 0