Close RemoteShell window on exit

This commit is contained in:
MaxXor 2015-01-15 10:26:01 +01:00
parent dddc4a70c7
commit 3ba3a10b13
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ private void txtConsoleInput_KeyDown(object sender, KeyEventArgs e)
case "cls":
txtConsoleOutput.Text = string.Empty;
break;
case "exit":
new Core.Packets.ServerPackets.ShellCommand(input).Execute(cClient);
this.Close();
break;
default:
new Core.Packets.ServerPackets.ShellCommand(input).Execute(cClient);
break;