Revize cf35739b
Přidáno uživatelem Eliška Mourycová před více než 3 roky(ů)
Server/ServerApp/User/CommandsAcceptor.cs | ||
---|---|---|
30 | 30 |
while (true) { |
31 | 31 |
Console.Write(">"); |
32 | 32 |
string command = Console.ReadLine(); |
33 |
if(command.Length > 0) |
|
33 |
if(command != null && command.Length > 0)
|
|
34 | 34 |
{ |
35 | 35 |
Console.WriteLine("received admin command: " + command); |
36 | 36 |
Command c = ParseString(command); |
Také k dispozici: Unified diff
Refs #9051, #9050. Added more tests + fixed some bugs revealed by the tests.