Răsfoiți Sursa

Add files via upload

Daniel Voipan 5 ani în urmă
părinte
comite
a1ab8a9e79
1 a modificat fișierele cu 1 adăugiri și 13 ștergeri
  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 {[onchan $botnick $chan]} {
 if {[regexp {[~]} $message]} {
 if {[regexp {[~]} $message]} {
 	set split_message [split $message "~"]
 	set split_message [split $message "~"]
-if {$black(quote:outtype) == "1"} {
-	puthelp "PRIVMSG $chan :\001ACTION $reply2\001"
-} else {
 	puthelp "PRIVMSG $chan :$reply2"
 	puthelp "PRIVMSG $chan :$reply2"
-}
 foreach mes $split_message {
 foreach mes $split_message {
 	set encoded [encoding convertto utf-8 $mes]
 	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]\""
 	puthelp "PRIVMSG $chan :\"[join $encoded]\""
-				}
 			}
 			}
 		} else {
 		} 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]"
 	puthelp "PRIVMSG $chan :$reply2 [join $encoded]"
-			}
 		}
 		}
 	}
 	}
 }
 }