소스 검색

Add files via upload

Daniel Voipan 5 년 전
부모
커밋
a1ab8a9e79
1개의 변경된 파일1개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 13
      BlackTools/Modules/BT.Quote.tcl

+ 1 - 13
BlackTools/Modules/BT.Quote.tcl

@@ -100,26 +100,14 @@ if {$line == ""} {
 if {[onchan $botnick $chan]} {
 if {[regexp {[~]} $message]} {
 	set split_message [split $message "~"]
-if {$black(quote:outtype) == "1"} {
-	puthelp "PRIVMSG $chan :\001ACTION $reply2\001"
-} else {
 	puthelp "PRIVMSG $chan :$reply2"
-}
 foreach mes $split_message {
 	set encoded [encoding convertto utf-8 $mes]
-if {$black(quote:outtype) == "1"} {
-	puthelp "PRIVMSG $chan :\001ACTION \"[join $encoded]\"\001"
-} else { 
 	puthelp "PRIVMSG $chan :\"[join $encoded]\""
-				}
 			}
 		} else {
-		set encoded [encoding convertto utf-8 $message]
-if {$black(quote:outtype) == "1"} {
-	puthelp "PRIVMSG $chan :\001ACTION $reply2 [join $encoded]\001"
-} else { 
+	set encoded [encoding convertto utf-8 $message]
 	puthelp "PRIVMSG $chan :$reply2 [join $encoded]"
-			}
 		}
 	}
 }