*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@623 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -563,7 +563,7 @@ void process(ENetPacket *packet, int sender, int chan) // sender may be -1
|
||||
|
||||
if(cl && !cl->isauthed)
|
||||
{
|
||||
if(serverpassword[0]) cl->isauthed = true;
|
||||
if(!serverpassword[0]) cl->isauthed = true;
|
||||
else if(chan==0) return;
|
||||
else if(chan!=1 || getint(p)!=SV_PWD) disconnect_client(sender, DISC_WRONGPW);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user