Added /disconnect

Sun, 10 Jan 2016 20:05:27 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 10 Jan 2016 20:05:27 +0200
changeset 112
c062273efa33
parent 111
51c93a0cc317
child 113
b3a33bc2e482

Added /disconnect

sources/interface.cpp file | annotate | diff | comparison | revisions
--- 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();

mercurial