forked from 2009Scape/Server
Removed the additional case for possible security risks
This commit is contained in:
parent
f369bcff94
commit
54190b2e02
1 changed files with 2 additions and 3 deletions
|
|
@ -39,9 +39,8 @@ public final class LoginWriteEvent extends IoWriteEvent {
|
|||
buffer.put(getWorldResponse(session));
|
||||
session.setProducer(GAME_PRODUCER);
|
||||
break;
|
||||
case 8: //if the login server is offline?
|
||||
//TODO: auto restart code?
|
||||
break;
|
||||
//Could add a case here to auto-restart the server in case the login server goes offline (case 8)
|
||||
//Possibly a risk for malicious attacks though
|
||||
case 21: //Moving world
|
||||
buffer.put((byte) session.getServerKey());
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue