viewing paste Unknown #1049 | Plain text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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) )
Viewed 325 times, submitted by unknown.