Remove "sleeper" nonsense.

This commit is contained in:
Tim J. Robbins 2003-02-21 08:46:44 +00:00
parent 249834de3d
commit ca78e3fb20

View File

@ -72,8 +72,6 @@ static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
static void makemsg(char *);
static void usage(void);
#define IGNOREUSER "sleeper"
struct wallgroup {
struct wallgroup *next;
char *name;
@ -140,8 +138,7 @@ main(int argc, char *argv[])
iov.iov_len = mbufsize;
/* NOSTRICT */
while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) {
if (!utmp.ut_name[0] ||
!strncmp(utmp.ut_name, IGNOREUSER, sizeof(utmp.ut_name)))
if (!utmp.ut_name[0])
continue;
if (grouplist) {
ingroup = 0;