]> Cypherpunks.ru repositories - nncp.git/commitdiff
Fix human message
authorSergey Matveev <stargrave@stargrave.org>
Sat, 7 Jan 2017 13:40:49 +0000 (16:40 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 7 Jan 2017 13:40:49 +0000 (16:40 +0300)
src/cypherpunks.ru/nncp/humanizer.go

index 60ac2dd89ed567e9e694034e5a5b633b933634bf..7fef05d95f9458db80ce0c2c389821e997d9df61 100644 (file)
@@ -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
                }