diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-10 10:54:56 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-10 10:54:56 +0800 |
commit | dc0a8eb34da824f63ad76564999deddcb2c74342 (patch) | |
tree | 1bd6fd5091f65ddfb97fd0f1559b3d64d2c33a54 | |
parent | a7a4ad8bb3773e103282cfbc570bdf7a9a6e1d42 (diff) | |
download | pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar.gz pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar.bz2 pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar.lz pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar.xz pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.tar.zst pttbbs-dc0a8eb34da824f63ad76564999deddcb2c74342.zip |
missing commit of r1935
git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1940 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | include/proto.h | 2 | ||||
-rw-r--r-- | util/AngelConvert.c | 1 |
2 files changed, 3 insertions, 0 deletions
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; } |