diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-09-07 18:13:49 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-09-07 18:13:49 +0100 | 
| commit | b99296fbd87be89a60cb653be415c3173ee60ba2 (patch) | |
| tree | 65f2b91fce3e1afa71f67a738ff420c629cf1d82 /irc.c | |
| parent | 0a4f6f4d3eff2944ff36a0bd6ec0986824f23ade (diff) | |
| parent | ba3a8a578430418050a7fda3c949d65434b23cb3 (diff) | |
BitlBee 1.2.3 merge.
Diffstat (limited to 'irc.c')
| -rw-r--r-- | irc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -37,7 +37,7 @@ static char *set_eval_password( set_t *set, char *value )  {  	irc_t *irc = set->data; -	if( irc->status & USTATUS_IDENTIFIED ) +	if( irc->status & USTATUS_IDENTIFIED && value )  	{  		irc_setpass( irc, value );  		return NULL; @@ -238,7 +238,7 @@ void irc_free( irc_t * irc )  	log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );  	if( irc->status & USTATUS_IDENTIFIED && set_getbool( &irc->set, "save_on_quit" ) )  -		if( storage_save( irc, TRUE ) != STORAGE_OK ) +		if( storage_save( irc, NULL, TRUE ) != STORAGE_OK )  			irc_usermsg( irc, "Error while saving settings!" );  	irc_connection_list = g_slist_remove( irc_connection_list, irc ); | 
