From 931582ed6769d106f49501e681bf7bdb9f0883e5 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 18 Oct 2019 07:40:47 -0400 Subject: [PATCH] Use cmdPrefix instead of hardcoded / --- cmdDownload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdDownload.go b/cmdDownload.go index 8bfd1d6..ff6cbbf 100644 --- a/cmdDownload.go +++ b/cmdDownload.go @@ -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])