update.c

olc11/install/changes/update.c · 476 B

From the archive olc_envy20.tgz

Download the archive   « Back to the archive contents

ILAB OLC Beta 1.1
Jason Dinkel
May. 15 1995

UPDATE.C

Add to update_handler()

    static int pulse_db_dump;	/* OLC 1.1b */

    /* OLC 1.1b */
    if ( --pulse_db_dump  <= 0 )
    {
	pulse_db_dump	= PULSE_DB_DUMP;
	do_asave( NULL, "" );
    }


Add to time_update()

    if ( !str_infix( down_time, curr_time ) )
    {
	/* OLC 1.1b */
	do_asave( NULL, "" );

	send_to_all_char( "Shutdown by system.\n\r" );
	log_string( "Shutdown by system." );

Site Stats

Snippets: 1791
Codebases: 571