s/create/new/
authorivan <ivan>
Fri, 26 Mar 1999 13:00:10 +0000 (13:00 +0000)
committerivan <ivan>
Fri, 26 Mar 1999 13:00:10 +0000 (13:00 +0000)
fs_passwd/fs_passwd_server

index 42f930e..cb0e693 100755 (executable)
@@ -57,7 +57,7 @@ while (1) {
     unless ( $svc_acct ) { print $writer "Incorrect password.\n"; next; }
 
     my(%hash)=$svc_acct->hash;
     unless ( $svc_acct ) { print $writer "Incorrect password.\n"; next; }
 
     my(%hash)=$svc_acct->hash;
-    my($new_svc_acct) = create FS::svc_acct ( \%hash );
+    my($new_svc_acct) = new FS::svc_acct ( \%hash );
     $new_svc_acct->setfield('_password',$new_password) 
       if $new_password && $new_password ne $old_password;
     $new_svc_acct->setfield('finger',$new_gecos) if $new_gecos;
     $new_svc_acct->setfield('_password',$new_password) 
       if $new_password && $new_password ne $old_password;
     $new_svc_acct->setfield('finger',$new_gecos) if $new_gecos;