upd
This commit is contained in:
parent
4e624e7bb5
commit
41196c09dd
2
main.go
2
main.go
@ -84,7 +84,7 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
conn.WriteJSON(map[string]string{"action": "show_message", "message": "Yet another BSD-like OS"})
|
||||
buffer = ""
|
||||
} else if buffer == "windows" {
|
||||
conn.WriteJSON(map[string]string{"action": "show_message", "message": "Windows ALLWAYS sucks"})
|
||||
conn.WriteJSON(map[string]string{"action": "show_message", "message": "Windows ALWAYS sucks"})
|
||||
buffer = ""
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user