rename server quit command to quit!

cc #177
This commit is contained in:
Gokcehan committed 2021-05-19 21:47:08 +03:00
1 parent 6ca07b1bfc
commit 1841bba3e6
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ Loop:
} }
} }
} }
case "quit": case "quit!":
gQuitChan <- struct{}{} gQuitChan <- struct{}{}
for _, c := range gConnList { for _, c := range gConnList {
fmt.Fprintln(c, "echo server is quitting...") fmt.Fprintln(c, "echo server is quitting...")