this_user.c
MudOSa4DGD/mudlib/dgd/lib/sys/kfun/this_user.c · 257 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
/*
* this_user.c
*
* Add security to this_user()
*
* (C) Frank Schmidt, Jesus@NorseMUD
*
*/
/* only return user object if we got driver privilege */
static object this_user() {
if (DRIVER_PRIV())
return ::this_user();
else
illegal();
}