Browse Source

Use cmdPrefix instead of hardcoded /

pull/21/head^2
Gregory Rudolph 5 years ago
parent
commit
931582ed67
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      cmdDownload.go

2
cmdDownload.go

@ -21,7 +21,7 @@ func init() { @@ -21,7 +21,7 @@ func init() {
func cmdDownloadFile(cmd []string) {
if len(cmd) < 2 {
printToView("Feed", fmt.Sprintf("/%s $messageId $fileName - Download a file to user's downloadpath", cmd[0]))
printToView("Feed", fmt.Sprintf("%s%s $messageId $fileName - Download a file to user's downloadpath", cmdPrefix, cmd[0]))
return
}
messageID, _ := strconv.Atoi(cmd[1])

Loading…
Cancel
Save