just a runnable instance of lrcd

can't stop winning

+5 -8
+5 -8
main.go
··· 25 25 func guessIfUpgradeFail(server *lrcd.Server, now time.Time) http.HandlerFunc { 26 26 return func(w http.ResponseWriter, r *http.Request) { 27 27 if r.Header.Get("Upgrade") != "websocket" { 28 - fmt.Fprintf(w, ` 29 - ~live~~ 30 - ~relay~ 31 - ~~chat~ 32 - hi! i am an lrc server! 33 - you can look at my code at tangled.org/moth11.net/lrcd & tangled.org/lrcdaemon 28 + fmt.Fprintf(w, `~ live ~~ hi! i am an lrc server! 29 + ~ relay ~ you can look at my code at tangled.org/moth11.net/lrcd 30 + ~~ chat ~ & tangled.org/moth11.net/lrcdaemon 34 31 35 - i think you should try connecting to me with an lrc client (e.g. tty!xcvr (@tangled.org/moth11.net/ttyxcvr)) 36 - it'll be more fun for us both! 32 + i think you should connect to me with your lrc client (e.g. ttyxcvr) 33 + it'll be more fun for us both! (tangled.org/moth11.net/ttyxcvr) 37 34 38 35 currently connected: %d 39 36 live since: %s`, server.Connected(), now.Format(time.RubyDate))