소스 검색

Update BT.TopWords.tcl

Daniel Voipan 5 년 전
부모
커밋
622349b2ce
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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