##############################################################
## MOD Title: Update CrackerTracker Professional v5.0.1 to v5.0.2
## MOD Author: cback < webmaster@cback.de > (Christian Knerr) http://www.cback.de
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
## No database Update required!
##############################################################
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Please upload all included files (you can find them into the folder root/)
to the correct position of your Board. Overwrite all files from your existing
CrackerTracker. You don't have to upload ctracker/logfiles !


#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_sendpasswd.php


#
#-----[ FIND ]------------------------------------------
#
				if ( $userdata['ct_last_pw_reset'] >= time() )
				{
					message_die(GENERAL_MESSAGE, sprintf($lang['ctracker_pwreset_info'], $ctracker_config->settings['pwreset_time']));
				}


#
#-----[ REPLACE WITH ]------------------------------------------
#
				if ( $row['ct_last_pw_reset'] >= time() )
				{
					message_die(GENERAL_MESSAGE, sprintf($lang['ctracker_pwreset_info'], $ctracker_config->settings['pwreset_time']));
				}

#
#-----[ FIND ]------------------------------------------
#
$new_time = time() + $ctracker_config->settings['pwreset_time'] * 60;


#
#-----[ REPLACE WITH ]------------------------------------------
#
			// Compatibility trick
			(empty($new_time))? $new_time = time() + 20 * 60 : null;


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
