Fixed posting and replying issues
This commit is contained in:
@@ -29,6 +29,13 @@ proc readfile {fname} {
|
||||
|
||||
# main data posting function
|
||||
proc postiidata {rooturl authstr echoname msgto subj repto text} {
|
||||
set rooturl [string trim $rooturl]
|
||||
set authstr [string trim $authstr]
|
||||
set echoname [string trim $echoname]
|
||||
set repto [string trim $repto]
|
||||
set msgto [string trim $msgto]
|
||||
set subj [string trim $subj]
|
||||
set text [string trimright $text]
|
||||
if {$repto ne ""} {set text "@repto:$repto\r\n$text"}
|
||||
set rawdata "$echoname\n$msgto\n$subj\n\n$text"
|
||||
set rawdata [encoding convertto utf-8 $rawdata]
|
||||
|
||||
Reference in New Issue
Block a user