summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index c8bfec24..688bd0c9 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.80 2003/05/20 02:01:09 bbs Exp $ */
+/* $Id: mbbsd.c,v 1.81 2003/05/20 02:03:35 bbs Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -916,18 +916,10 @@ do_aloha(char *hello)
userinfo_t *uentp;
int tuid;
-#if 1
if ((uentp = (userinfo_t *) search_ulist_userid(userid)) &&
isvisible(uentp, currutmp)) {
my_write(uentp->pid, genbuf, uentp->userid, 2, NULL);
}
-#else
- if ((tuid = searchuser(userid)) && tuid != usernum &&
- (uentp = (userinfo_t *) search_ulist(tuid)) &&
- isvisible(uentp, currutmp)) {
- my_write(uentp->pid, genbuf, uentp->userid, 2, NULL);
- }
-#endif
}
fclose(fp);
}