Update of /cvsroot/wpdev/wolfpack/network
In directory sc8-pr-cvs1:/tmp/cvs-serv23681
Modified Files:
uosocket.cpp
Log Message:
no message
Index: uosocket.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v
retrieving revision 1.300
retrieving revision 1.301
diff -C2 -d -r1.300 -r1.301
*** uosocket.cpp 5 Jan 2004 06:25:38 -0000 1.300
--- uosocket.cpp 12 Jan 2004 04:59:28 -0000 1.301
***************
*** 627,636 ****
break;
case cAccounts::BadPassword:
! denyPacket.setReason( DL_BADPASSWORD ); break;
case cAccounts::Wipped:
case cAccounts::Banned:
! denyPacket.setReason( DL_BLOCKED ); break;
case cAccounts::AlreadyInUse:
! denyPacket.setReason( DL_INUSE ); break;
};
--- 627,642 ----
break;
case cAccounts::BadPassword:
! log( QString( "Failed to log in as '%1', wrong password\n" ).arg( username ) );
! denyPacket.setReason( DL_BADPASSWORD );
! break;
case cAccounts::Wipped:
case cAccounts::Banned:
! log( QString( "Failed to log in as '%1', Wipped/Banned account\n" ).arg( username ) );
! denyPacket.setReason( DL_BLOCKED );
! break;
case cAccounts::AlreadyInUse:
! log( QString( "Failed to log in as '%1', account is already in use\n" ).arg( username ) );
! denyPacket.setReason( DL_INUSE );
! break;
};
|