send hashes instead of plaintext admin passwords
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3073 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -164,6 +164,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
case SV_INITS2C: // welcome messsage from the server
|
||||
{
|
||||
int mycn = getint(p), prot = getint(p);
|
||||
setadminsalt = getint(p);
|
||||
if(prot!=PROTOCOL_VERSION)
|
||||
{
|
||||
conoutf("you are using a different game protocol (you: %d, server: %d)", PROTOCOL_VERSION, prot);
|
||||
|
||||
Reference in New Issue
Block a user