Implement new telnet.exit command.

This commit is contained in:
Wilee999 2014-01-24 22:29:11 -08:00
parent 2ef8f3daf3
commit 75d4c19eb2
1 changed files with 5 additions and 0 deletions

View File

@ -378,6 +378,7 @@ public final class BT_ClientSession extends Thread
writeOut("telnet.help - See all of the telnet commands.\r\n");
writeOut("telnet.stopserver - Shutdown the server.\r\n");
writeOut("telnet.log - Change your logging settings.\r\n");
writeOut("telnet.exit - Quit the telnet session.");
}
else if (command.equalsIgnoreCase("telnet.stopserver"))
{
@ -398,6 +399,10 @@ public final class BT_ClientSession extends Thread
writeOut("Showing chat log only.\r\n");
}
}
else if (command.equalsIgnoreCase("telnet.exit"))
{
terminateSession();
}
}
else
{