summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 04:31:50 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 04:31:50 +0800
commit2be2268af61905f408f33f2a4d439829ca23a0be (patch)
treed4b2439cc9ffb1ef5a6a3596c0d4824b84f733ba /mbbsd/friend.c
parentbee171e6635b88aa65c696f4ff2665cddf886e48 (diff)
downloadpttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.gz
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.bz2
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.lz
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.xz
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.zst
pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.zip
fix logout_friend()
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@93 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index d87c4bc9..fef3fabc 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -1,4 +1,4 @@
-/* $Id: friend.c,v 1.3 2002/04/05 18:49:35 in2 Exp $ */
+/* $Id: friend.c,v 1.4 2002/04/09 20:31:50 in2 Exp $ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -319,7 +319,8 @@ void friend_load() {
fclose(fp);
}
memcpy(currutmp->reject, myrejects, sizeof(myrejects));
- if(currutmp->friendtotal) logout_friend_online();
+ if(currutmp->friendtotal)
+ logout_friend_online(currutmp);
login_friend_online();
}