Explorar el Código

* Drop the userfile on "corrupt user record"

svn: 511
Bryan Drewery hace 22 años
padre
commit
496bfb3124
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/users.c

+ 1 - 0
src/users.c

@@ -958,6 +958,7 @@ Context;
 	  if (!attr[0] || !pass[0]) {
 	    putlog(LOG_MISC, "*", "* %s '%s'!", USERF_CORRUPT, code);
 	    lasthand[0] = 0;
+            return 1;
 	  } else {
 	    u = get_user_by_handle(bu, code);
 	    if (u && !(u->flags & USER_UNSHARED)) {