Changeset b73ac9c for storage_text.c
- Timestamp:
- 2005-12-13T23:05:27Z (17 years ago)
- Branches:
- master
- Children:
- d3307e2
- Parents:
- a301379c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
storage_text.c
ra301379c rb73ac9c 67 67 { 68 68 fgetc( fp ); 69 line = deobfucrypt( irc, s ); 69 line = deobfucrypt( s, password ); 70 if (line == NULL) return STORAGE_OTHER_ERROR; 70 71 root_command_string( irc, ru, line, 0 ); 71 72 g_free( line ); … … 129 130 \*/ 130 131 131 hash = hashpass( irc );132 hash = hashpass( irc->password ); 132 133 if( hash == NULL ) 133 134 { 134 135 irc_usermsg( irc, "Please register yourself if you want to save your settings." ); 135 return ( 0 );136 return STORAGE_OTHER_ERROR; 136 137 } 137 138 … … 192 193 proto_name[a->protocol], a->user, a->pass, a->server ? a->server : "" ); 193 194 194 line = obfucrypt( irc, s);195 line = obfucrypt( s, irc->password ); 195 196 if( *line ) 196 197 { … … 210 211 { 211 212 g_snprintf( s, sizeof( s ), "set %s \"%s\"", set->key, set->value ); 212 line = obfucrypt( irc, s);213 line = obfucrypt( s, irc->password ); 213 214 if( *line ) 214 215 { … … 227 228 { 228 229 g_snprintf( s, sizeof( s ), "rename %s %s", ROOT_NICK, irc->mynick ); 229 line = obfucrypt( irc, s);230 line = obfucrypt( s, irc->password ); 230 231 if( *line ) 231 232 { … … 270 271 FILE *fp; 271 272 272 g_snprintf( s, 511, "%s%s%s", global.conf->configdir, nick, ". nicks" );273 g_snprintf( s, 511, "%s%s%s", global.conf->configdir, nick, ".accounts" ); 273 274 fp = fopen( s, "r" ); 274 275 if (!fp)
Note: See TracChangeset
for help on using the changeset viewer.