From 8ffc0739e079717275a19c60f3ecd99516d3398f Mon Sep 17 00:00:00 2001
From: piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>
Date: Wed, 4 Jun 2008 08:24:00 +0000
Subject: - passwd: enable ALERT_PWD_RELOAD

git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4341 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
---
 mbbsd/passwd.c | 2 --
 1 file changed, 2 deletions(-)

(limited to 'mbbsd')

diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 7145fb1a..b5e85907 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -103,14 +103,12 @@ passwd_update(int num, userec_t * buf)
 	}
 	currutmp->alerts &= ~ALERT_PWD;
 
-	/*
 	// ALERT_PWD_RELOAD: reload all! No need to write.
 	if (pwdfd & ALERT_PWD_RELOAD)
 	{
 	    memcpy(&cuser, &u, sizeof(u));
 	    return 0;
 	}
-	*/
     }
     if ((pwdfd = open(fn_passwd, O_WRONLY)) < 0)
 	exit(1);
-- 
cgit v1.2.3