# HG changeset patch # User Teemu Piippo # Date 1452449127 -7200 # Node ID c062273efa33b365f629652a2d436e467987c2ff # Parent 51c93a0cc3178c4700dac550c93436403cb413db Added /disconnect diff -r 51c93a0cc317 -r c062273efa33 sources/interface.cpp --- a/sources/interface.cpp Sun Jan 10 20:04:28 2016 +0200 +++ b/sources/interface.cpp Sun Jan 10 20:05:27 2016 +0200 @@ -1073,6 +1073,10 @@ Session.connect(CurrentAddress = address); } } + else if (command == "disconnect") + { + Session.disconnect(); + } else if (command == "quit") { Session.disconnect();