Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: trunk/src/login/login.c
- ===================================================================
- --- trunk/src/login/login.c (revisão 16773)
- +++ trunk/src/login/login.c (cópia de trabalho)
- @@ -1045,7 +1045,14 @@
- if( !check_password(sd->md5key, sd->passwdenc, sd->passwd, acc.pass) )
- {
- ShowNotice("Invalid password (account: '%s', pass: '%s', received pass: '%s', ip: %s)\n", sd->userid, acc.pass, sd->passwd, ip);
- - return 1; // 1 = Incorrect Password
- + {
- + int fd = sd->fd;
- +
- + WFIFOHEAD(fd,3);
- + WFIFOW(fd,0) = 0x6c;
- + WFIFOB(fd,2) = 0;
- + WFIFOSET(fd,3);
- + }
- }
- if( acc.expiration_time != 0 && acc.expiration_time < time(NULL) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement