Resolved some compile warnings

* Fixes #2588.
* Clean up from 24b3509.
Thanks to @darhlism!
This commit is contained in:
aleos89
2017-11-08 13:36:01 -05:00
parent a587b913fa
commit c13f271a94
4 changed files with 4 additions and 4 deletions

View File

@@ -1028,7 +1028,7 @@ int chmapif_parse_reqauth(int fd, int id){
login_id1 = RFIFOL(fd,10);
sex = RFIFOB(fd,14);
ip = ntohl(RFIFOL(fd,15));
autotrade = RFIFOB(fd,19);
autotrade = RFIFOB(fd,19) != 0;
RFIFOSKIP(fd,20);
node = (struct auth_node*)idb_get(auth_db, account_id);