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:
ac_stef
2008-10-16 20:38:08 +00:00
parent 8a338d0b89
commit 37e22762b6
8 changed files with 231 additions and 50 deletions
+1
View File
@@ -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);