mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Capitalization.
This commit is contained in:
parent
fae115ef91
commit
0ae714e06e
1 changed files with 2 additions and 2 deletions
|
@ -62,14 +62,14 @@ public class KobaltServer @Inject constructor(val args: Args) : Runnable, IComma
|
|||
while (!quit && line != null) {
|
||||
log1("Received from client $line")
|
||||
val jo = JsonParser().parse(line) as JsonObject
|
||||
if ("Quit" == jo.get("name").asString) {
|
||||
if ("quit" == jo.get("name").asString) {
|
||||
log1("Quitting")
|
||||
quit = true
|
||||
} else {
|
||||
runCommand(jo)
|
||||
|
||||
// Done, send a quit to the client
|
||||
sendData("{ \"name\": \"Quit\" }")
|
||||
sendData("{ \"name\": \"quit\" }")
|
||||
|
||||
line = ins.readLine()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue