summaryrefslogtreecommitdiff
path: root/pkg/server/echo.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/echo.go')
-rw-r--r--pkg/server/echo.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/server/echo.go b/pkg/server/echo.go
index c8dce31..00f0c2d 100644
--- a/pkg/server/echo.go
+++ b/pkg/server/echo.go
@@ -2,7 +2,6 @@ package server
import (
"strings"
- "fmt"
)
func init() {
@@ -10,5 +9,5 @@ func init() {
}
func echo(r *request) {
- fmt.Fprint(r.out, strings.Join(r.args, " "))
+ r.Print(strings.Join(r.args, " "))
}