Просмотр исходного кода

* Dynamically lookup the name of the old pass type

Bryan Drewery 17 лет назад
Родитель
Сommit
389d43f5e0
1 измененных файлов с 1 добавлено и 1 удалено
  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);
   }
   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;
 }