summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-02 14:05:17 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-02 14:05:17 +0100
commitcd08dcc01fba48dfb08e56c33fef15e5cdee7fa1 (patch)
treef760e6de208a18346796adb49fc898eaf10d92ac
parenta330b07dc43bd7b3ac42da5f130945be3fbcf5cf (diff)
fix log
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 500cfcb..6150db4 100644
--- a/main.go
+++ b/main.go
@@ -24,7 +24,7 @@ func (n *Notify) Write(p []byte) (int, error) {
if sz > maxLen {
p = append(p[:maxLen], []byte("...")...)
}
- log.Println("Send", p)
+ log.Println("Send", string(p))
n.conn.Notice(n.target, string(p))
return sz, nil
}