Commit 9e7087de authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(create_person_generic): Removed #if 0'd code that referenced

	logins_allowed.  (Bug 151).
parent 9f5a9b0c
/* /*
* $Id: person.c,v 0.63 2001/11/04 21:03:50 ceder Exp $ * $Id: person.c,v 0.64 2001/11/06 21:38:36 ceder Exp $
* Copyright (C) 1991-1999, 2001 Lysator Academic Computer Association. * Copyright (C) 1991-1999, 2001 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -555,15 +555,6 @@ create_person_generic ( const String name, ...@@ -555,15 +555,6 @@ create_person_generic ( const String name,
} }
} }
#if 0
if ( !logins_allowed && !ACTPERS ) /* A new user can't create himself */
{ /* if he isn't allowed to login. */
err_stat = 0;
kom_errno = KOM_LOGIN_DISALLOWED;
return 0;
}
#endif
if ( !legal_name( name ) ) if ( !legal_name( name ) )
{ {
/* kom_errno will be set by legal_name(). */ /* kom_errno will be set by legal_name(). */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment