Grabbed another chunk of code out of user_ops.c, purge_user()
authorDave West <davew@uncensored.citadel.org>
Tue, 10 Nov 2009 19:27:46 +0000 (19:27 +0000)
committerDave West <davew@uncensored.citadel.org>
Tue, 10 Nov 2009 19:27:46 +0000 (19:27 +0000)
commitc2c1aa8b94024803f623575c5f9ea89d9317f1e0
treef48fd031fa6bc7a92a8d08fa083aaa420fb58314
parentbe8d2e8c65b70b7caa227f794c3c849ef2367954
Grabbed another chunk of code out of user_ops.c, purge_user()
This chunk checked if a user was logged in by testing the user numbers
It is now a function and exposed to the API as
int CtdlIsUserLoggedInByNum(int num)
Also marked the code with a FIXME since it is unsafe, a user could log in
after the test but before the delete and realy mess things up.
citadel/context.c
citadel/include/ctdl_module.h
citadel/user_ops.c