mirror of
https://github.com/TotalFreedomMC/BukkitTelnet.git
synced 2024-06-16 16:51:22 +00:00
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.help - See all of the telnet commands.\r\n");
|
||||||
writeOut("telnet.stopserver - Shutdown the server.\r\n");
|
writeOut("telnet.stopserver - Shutdown the server.\r\n");
|
||||||
writeOut("telnet.log - Change your logging settings.\r\n");
|
writeOut("telnet.log - Change your logging settings.\r\n");
|
||||||
|
writeOut("telnet.exit - Quit the telnet session.");
|
||||||
}
|
}
|
||||||
else if (command.equalsIgnoreCase("telnet.stopserver"))
|
else if (command.equalsIgnoreCase("telnet.stopserver"))
|
||||||
{
|
{
|
||||||
|
@ -398,6 +399,10 @@ public final class BT_ClientSession extends Thread
|
||||||
writeOut("Showing chat log only.\r\n");
|
writeOut("Showing chat log only.\r\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (command.equalsIgnoreCase("telnet.exit"))
|
||||||
|
{
|
||||||
|
terminateSession();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue