Przeglądaj źródła

Update BT.Anunt.tcl

Daniel Voipan 6 lat temu
rodzic
commit
d8a3c948df
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      BlackTools 2.5.3/BlackTools/Modules/BT.Anunt.tcl

+ 2 - 2
BlackTools 2.5.3/BlackTools/Modules/BT.Anunt.tcl

@@ -258,7 +258,7 @@ if {$line == ""} {
 	set black(anuntshow:$chan) [expr $black(anuntshow:$chan) + 1]
 foreach mes $split_line {
 	set mes [string map [array get replace] $mes]
-	set encoded [encoding convertto utf-8 $mes]
+	set encoded [encoding convertfrom utf-8 $mes]
 	
 if {$black(anunthow) == "1"} {
 	puthelp "PRIVMSG $chan :\001ACTION \[$black(anuntshow:$chan)/$total_anunt\] [join $encoded]\001"
@@ -273,4 +273,4 @@ if {$black(anunthow) == "1"} {
 ##############
 #########################################################################
 ##   END                                                               ##
-#########################################################################
+#########################################################################