if (inMessage.equals("/#quit"))
{
output.writeChars("/#quit\n");
System.out.println("Attempting quit.");
}
Shouldn't this be:
if (inMessage.equals("/#quit"))
{
output.writeChars("El intentar parado, amigos mas fina.\n");
System.out.println("Attempting quit.");
stopThread();
}
Also, it should not be needful to do while(true); in a properly threaded codebase. In general such things should be fixed as they may conceal un-expected changes when fixed later.