From 7215f7de56c3d26487fcfe1a4e9b04c3d2b309a3 Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 23 Aug 2002 18:01:30 +0000 Subject: fix memory error git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/mbbsd.c') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 29121dd9..419c13e9 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.49 2002/08/23 11:33:01 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.50 2002/08/23 18:01:30 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -448,6 +448,7 @@ multi_user_check() return; /* don't check sysops */ if (cuser.userlevel) { + sort_utmp(); if (!(ui = (userinfo_t *) search_ulist(usernum))) return; /* user isn't logged in */ -- cgit v1.2.3