From: Sergey Matveev Date: Sat, 7 Jan 2017 13:40:49 +0000 (+0300) Subject: Fix human message X-Git-Tag: 0.1~36 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7b596fe6afac200f23037406ae7d5f04d5c85731;p=nncp.git Fix human message --- diff --git a/src/cypherpunks.ru/nncp/humanizer.go b/src/cypherpunks.ru/nncp/humanizer.go index 60ac2dd..7fef05d 100644 --- a/src/cypherpunks.ru/nncp/humanizer.go +++ b/src/cypherpunks.ru/nncp/humanizer.go @@ -180,9 +180,9 @@ func (ctx *Ctx) Humanize(s string) string { case "llp-infos": switch sds["xx"] { case "rx": - msg = fmt.Sprintf("We have got for %s: ", nodeS) - case "tx": msg = fmt.Sprintf("%s has got for us: ", nodeS) + case "tx": + msg = fmt.Sprintf("We have got for %s: ", nodeS) default: return s }