diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2006-06-16 13:26:51 +0200 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2006-06-16 13:26:51 +0200 | 
| commit | 07e46c92467d0787f1318412186a64cf1c9da562 (patch) | |
| tree | 1d9b346c87146f559e1a07d7d2e97b19ec7ac66b /storage_text.c | |
| parent | b4e4b958ac5db7f59f8a21c914b02d8d487de2a4 (diff) | |
| parent | 3af70b06b2f0fb0fb41a041f6d86e3711b9eea3f (diff) | |
[merge] upstream
Diffstat (limited to 'storage_text.c')
| -rw-r--r-- | storage_text.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/storage_text.c b/storage_text.c index f807cb3e..506c9f03 100644 --- a/storage_text.c +++ b/storage_text.c @@ -70,7 +70,7 @@ static storage_status_t text_load ( const char *my_nick, const char* password, i  	FILE *fp;  	user_t *ru = user_find( irc, ROOT_NICK ); -	if( irc->status >= USTATUS_IDENTIFIED ) +	if( irc->status & USTATUS_IDENTIFIED )  		return( 1 );  	g_snprintf( s, 511, "%s%s%s", global.conf->configdir, my_nick, ".accounts" ); @@ -87,7 +87,7 @@ static storage_status_t text_load ( const char *my_nick, const char* password, i  	/* Do this now. If the user runs with AuthMode = Registered, the  	   account command will not work otherwise. */ -	irc->status = USTATUS_IDENTIFIED; +	irc->status |= USTATUS_IDENTIFIED;  	while( fscanf( fp, "%511[^\n]s", s ) > 0 )  	{ | 
