Changes in irc.c [7cad7b4:c2295f7]
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r7cad7b4 rc2295f7 32 32 GSList *irc_connection_list = NULL; 33 33 34 staticchar *passchange (irc_t *irc, void *set, char *value)35 { 36 irc_setpass(irc, value);34 char *passchange (irc_t *irc, void *set, char *value) 35 { 36 setpassnc (irc, value); 37 37 return (NULL); 38 38 } … … 161 161 162 162 if( irc->status >= USTATUS_IDENTIFIED && set_getint( irc, "save_on_quit" ) ) 163 if( ! global.storage->save( irc, TRUE) )163 if( !bitlbee_save( irc ) ) 164 164 irc_usermsg( irc, "Error while saving settings!" ); 165 165 … … 266 266 if( global.conf->runmode == RUNMODE_INETD ) 267 267 g_main_quit( global.loop ); 268 }269 270 /* USE WITH CAUTION!271 Sets pass without checking */272 void irc_setpass (irc_t *irc, const char *pass)273 {274 if (irc->password) g_free (irc->password);275 276 if (pass) {277 irc->password = g_strdup (pass);278 irc_usermsg (irc, "Password successfully changed");279 } else {280 irc->password = NULL;281 }282 268 } 283 269
Note: See TracChangeset
for help on using the changeset viewer.