Changeset 90bbb0e
- Timestamp:
- 2006-06-26T16:50:47Z (18 years ago)
- Branches:
- master
- Children:
- b3c467b
- Parents:
- 471573f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r471573f r90bbb0e 127 127 } 128 128 129 static void cmd_account( irc_t *irc, char **cmd ); 130 129 131 static void cmd_identify( irc_t *irc, char **cmd ) 130 132 { 131 133 storage_status_t status = storage_load( irc->nick, cmd[1], irc ); 134 char *account_on[] = { "account", "on", NULL }; 132 135 133 136 switch (status) { … … 141 144 irc_usermsg( irc, "Password accepted, settings and accounts loaded" ); 142 145 irc_umode_set( irc, "+R", 1 ); 146 if( set_getint( irc, "auto_connect" ) ) 147 cmd_account( irc, account_on ); 143 148 break; 144 149 case STORAGE_OTHER_ERROR: -
storage_text.c
r471573f r90bbb0e 116 116 } 117 117 fclose( fp ); 118 119 if( set_getint( irc, "auto_connect" ) )120 {121 strcpy( s, "account on" ); /* Can't do this directly because r_c_s alters the string */122 root_command_string( irc, ru, s, 0 );123 }124 118 125 119 return STORAGE_OK; -
storage_xml.c
r471573f r90bbb0e 333 333 irc->status |= USTATUS_IDENTIFIED; 334 334 335 /* TODO: This really shouldn't be here, I think... */336 if( set_getint( irc, "auto_connect" ) )337 {338 /* Can't do this directly because r_c_s alters the string */339 strcpy( buf, "account on" );340 root_command_string( irc, NULL, buf, 0 );341 }342 343 335 return STORAGE_OK; 344 336 }
Note: See TracChangeset
for help on using the changeset viewer.