/* Copyright (C) 1991, Marcus J. Ranum. All rights reserved. */ #ifndef lint static char RCSid[] = "$Header: /home/mjr/hacks/umud/CMD/RCS/quit.c,v 1.1 92/02/09 22:59:29 mjr Exp $"; #endif /* configure all options BEFORE including system stuff. */ #include "config.h" #include "mud.h" /* ARGSUSED */ cmd_QUIT(argc,argv,who,aswho) int argc; char *argv[]; char *who; char *aswho; { if(strcmp(who,aswho)){ say(who,"you cannot disconnect with a macro on an object\n",0); return(UERR_PERM); } io_logoff(who); return(UERR_NONE); }