summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-11 03:34:51 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-11 03:34:51 +0800
commit2dfc361a325dd07137c7b524f3d472d3d14cda81 (patch)
treefcef381874281fbffb3a85b58d7476ed7604ea27 /mbbsd/admin.c
parent8b5ca7e36cb6925e19ff6b755ac61bcdfc1dc6a7 (diff)
downloadpttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar.gz
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar.bz2
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar.lz
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar.xz
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.tar.zst
pttbbs-2dfc361a325dd07137c7b524f3d472d3d14cda81.zip
general namecomplete
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@159 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 815bb854..66043aa4 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.9 2002/05/08 14:11:33 lwms Exp $ */
+/* $Id: admin.c,v 1.10 2002/05/10 19:34:51 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -14,6 +14,7 @@
#include "modes.h"
#include "proto.h"
+extern struct bcache_t *brdshm;
extern char *msg_uid;
extern userec_t xuser;
extern char *err_uid;
@@ -397,8 +398,10 @@ int m_board() {
char bname[32];
stand_title("¬ÝªO³]©w");
- make_blist();
- namecomplete(msg_bid, bname);
+ generalnamecomplete(msg_bid, bname, sizeof(bname), brdshm->number,
+ completeboard_compar,
+ completeboard_permission,
+ completeboard_getname);
if(!*bname)
return 0;
m_mod_board(bname);