Skip to content

Commit

Permalink
rename server quit command to quit!
Browse files Browse the repository at this point in the history
cc #177
  • Loading branch information
gokcehan committed May 19, 2021
1 parent 6ca07b1 commit 1841bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Loop:
}
}
}
case "quit":
case "quit!":
gQuitChan <- struct{}{}
for _, c := range gConnList {
fmt.Fprintln(c, "echo server is quitting...")
Expand Down

0 comments on commit 1841bba

Please sign in to comment.