Implement new telnet.exit command.
This commit is contained in:
parent
2ef8f3daf3
commit
75d4c19eb2
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue