Pārlūkot izejas kodu

* Dynamically lookup the name of the old pass type

Bryan Drewery 17 gadi atpakaļ
vecāks
revīzija
389d43f5e0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/userent.c

+ 1 - 1
src/userent.c

@@ -631,7 +631,7 @@ static bool pass1_set(struct userrec *u, struct user_entry *e, void *buf)
       e->u.extra = encrypt_string(u->handle, pass);
       e->u.extra = encrypt_string(u->handle, pass);
   }
   }
   if (!noshare)
   if (!noshare)
-    shareout("c PASS1 %s %s\n", u->handle, pass ? pass : "");
+    shareout("c %s %s %s\n", e->type->name, u->handle, pass ? pass : "");
   return 1;
   return 1;
 }
 }