sources/interface.cpp

changeset 120
32ba3ae4daf1
parent 119
9eb47f1899be
child 126
6a0d6bddf2ab
equal deleted inserted replaced
119:9eb47f1899be 120:32ba3ae4daf1
1062 args.remove_at(0); 1062 args.remove_at(0);
1063 1063
1064 if (command == "connect") 1064 if (command == "connect")
1065 { 1065 {
1066 if (args.size() != 2) 1066 if (args.size() != 2)
1067 print_error("Usage: /connect <address> <password>"); 1067 {
1068 print_error("Usage: /connect <address> <password>\n");
1069 }
1068 else 1070 else
1069 { 1071 {
1070 IPAddress address; 1072 IPAddress address;
1071 1073
1072 try 1074 try

mercurial