diff options
Diffstat (limited to 'util/bbsmail.c')
-rw-r--r-- | util/bbsmail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/bbsmail.c b/util/bbsmail.c index dd015099..f1a5ffb8 100644 --- a/util/bbsmail.c +++ b/util/bbsmail.c @@ -8,7 +8,6 @@ extern char *notitle[], *nofrom[], *nocont[]; #endif -extern userec_t xuser; int strip_ansi(char *buf, char *str, int mode) @@ -84,9 +83,10 @@ int mail2bbs(char *userid) time_t tmp_time; struct stat st; FILE *fout; + userec_t xuser; /* check if the userid is in our bbs now */ - if( !(uid = getuser(userid)) ){ + if( !(uid = getuser(userid, &xuser)) ){ sprintf(genbuf, "BBS user <%s> not existed", userid); puts(genbuf); mailog(genbuf); |