diff options
Diffstat (limited to 'mbbsd/angel.c')
-rw-r--r-- | mbbsd/angel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/angel.c b/mbbsd/angel.c index 024091e9..0218ceab 100644 --- a/mbbsd/angel.c +++ b/mbbsd/angel.c @@ -38,10 +38,11 @@ angel_parse_nick_fp(FILE *fp, char *nick, int sznick) } void -angel_load_my_nick(char *buf, int szbuf) +angel_load_my_fullnick(char *buf, int szbuf) { char fn[PATHLEN]; FILE *fp = NULL; + *buf = 0; setuserfile(fn, FN_ANGELMSG); if ((fp = fopen(fn, "rt"))) @@ -49,6 +50,7 @@ angel_load_my_nick(char *buf, int szbuf) angel_parse_nick_fp(fp, buf, szbuf); fclose(fp); } + strlcat(buf, "¤p¤Ñ¨Ï", szbuf); } // cache my angel's nickname |