--typo
authorBernhard Tittelbach <xro@realraum.at>
Fri, 6 Sep 2013 21:19:58 +0000 (21:19 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Fri, 6 Sep 2013 21:19:58 +0000 (21:19 +0000)
r3-netstatus/main.go

index 7016404..8e6610d 100644 (file)
@@ -46,7 +46,7 @@ func composeMessage(present, locked, shut bool, who string, ts int64) string {
         IfThenElseStr(present,  "Somebody is present!" , "Everybody left."),
         IfThenElseStr(locked, "locked","unlocked"),
         IfThenElseStr(shut, "shut","ajar"),
-        IfThenElseStr(who == "","", " by" + who),
+        IfThenElseStr(who == "","", " by " + who),
         time.Unix(ts,0).String())
 }