summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-01 08:34:49 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-01 08:34:49 +0800
commit78623931514f6b4894d82e050a3c8b668193b4a8 (patch)
tree430fe70ff348282c28e633f628976fcd5a62dafc /mbbsd/talk.c
parenta7ea61462a6557784eb4858bfe0066f64ffa8262 (diff)
downloadpttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar.gz
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar.bz2
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar.lz
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar.xz
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.tar.zst
pttbbs-78623931514f6b4894d82e050a3c8b668193b4a8.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index a6eeba5b..2097417f 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.53 2002/05/31 07:45:41 lwms Exp $ */
+/* $Id: talk.c,v 1.54 2002/06/01 00:34:49 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -1755,12 +1755,9 @@ int call_in(userinfo_t *uentp, int fri_stat)
char genbuf[60];
if( HAS_PERM(PERM_LOGINOK) &&
uentp->pid != currpid &&
- strcmp(uentp->userid, cuser.userid) != 0 &&
(HAS_PERM(PERM_SYSOP) ||
- (!uentp->invisible &&
- !(fri_stat & HRM) &&
- uentp->pager != 3 &&
- (fri_stat & HFM || uentp->pager != 4))) ){
+ (uentp->pager != 3 &&
+ (fri_stat & HFM || uentp->pager != 4))) ){
sprintf(genbuf, "Call-In %s ĄG", uentp->userid);
my_write(uentp->pid, genbuf, uentp->userid, 0, NULL);
return 1;