summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-01 11:51:36 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-01 11:51:36 +0800
commit4d84045d9c329601e443cd20c4c05b3cfc8f8773 (patch)
treeb11364d4f9d06dcace056e3ad275bbe912ac4d0d /mbbsd/talk.c
parent914084b55532410237b7d11d81a5ec28ff59747c (diff)
downloadpttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar.gz
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar.bz2
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar.lz
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar.xz
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.tar.zst
pttbbs-4d84045d9c329601e443cd20c4c05b3cfc8f8773.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 2097417f..6f96a52f 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.54 2002/06/01 00:34:49 ptt Exp $ */
+/* $Id: talk.c,v 1.55 2002/06/01 03:51:36 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -2106,11 +2106,6 @@ static void userlist(void)
}
break;
- case 'K': /* ½ð¤H */
- if( HAS_PERM(PERM_ACCOUNTS) ){
- }
- break;
-
case 'i':
move(3,0);
clrtobot();
@@ -2139,7 +2134,13 @@ static void userlist(void)
}
}
break;
-
+ case 'K':
+ if(HAS_PERM(PERM_ACCOUNTS))
+ {
+ my_kick(uentp);
+ redrawall = redraw = 1;
+ }
+ break;
case 'w':
if(call_in(uentp,fri_stat))
redrawall = redraw = 1;