From dc0a8eb34da824f63ad76564999deddcb2c74342 Mon Sep 17 00:00:00 2001 From: scw Date: Mon, 10 May 2004 02:54:56 +0000 Subject: missing commit of r1935 git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 ++ util/AngelConvert.c | 1 + 2 files changed, 3 insertions(+) diff --git a/include/proto.h b/include/proto.h index b3fed5a6..816c81c4 100644 --- a/include/proto.h +++ b/include/proto.h @@ -578,6 +578,8 @@ int isvisible_uid(int tuid); int friend_stat(userinfo_t *me, userinfo_t * ui); int call_in(userinfo_t *uentp, int fri_stat); int make_connection_to_somebody(userinfo_t *uin, int timeout); +int t_changeangel(void); +void CallAngel(void); /* tmpjack */ int reg_barbq(void); diff --git a/util/AngelConvert.c b/util/AngelConvert.c index 94c42cb4..a4829e5c 100644 --- a/util/AngelConvert.c +++ b/util/AngelConvert.c @@ -25,6 +25,7 @@ int main(){ if( u.userlevel & OLD_PERM_NOOUTMAIL ) u.uflag2 |= REJ_OUTTAMAIL; u.userlevel &= ~PERM_ANGEL; + bzero(u.myangel, IDLEN + 1); write(new_fd, &u, sizeof(userec_t)); ++count; } -- cgit v1.2.3