sources/interface.cpp

changeset 112
c062273efa33
parent 111
51c93a0cc317
child 115
bb7ef7c33dad
equal deleted inserted replaced
111:51c93a0cc317 112:c062273efa33
1071 Session.set_password(args[1]); 1071 Session.set_password(args[1]);
1072 Session.disconnect(); 1072 Session.disconnect();
1073 Session.connect(CurrentAddress = address); 1073 Session.connect(CurrentAddress = address);
1074 } 1074 }
1075 } 1075 }
1076 else if (command == "disconnect")
1077 {
1078 Session.disconnect();
1079 }
1076 else if (command == "quit") 1080 else if (command == "quit")
1077 { 1081 {
1078 Session.disconnect(); 1082 Session.disconnect();
1079 endwin(); 1083 endwin();
1080 throw Exitception(); 1084 throw Exitception();

mercurial