Changeset ab49fdc for commands.c
- Timestamp:
- 2005-12-10T14:50:49Z (19 years ago)
- Branches:
- master
- Children:
- a301379c
- Parents:
- 87c24ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r87c24ba rab49fdc 86 86 int cmd_identify( irc_t *irc, char **cmd ) 87 87 { 88 storage_status_t status = global.storage->load( irc->nick, cmd[1], irc );88 storage_status_t status = storage_load( irc->nick, cmd[1], irc ); 89 89 90 90 switch (status) { … … 115 115 116 116 irc_setpass( irc, cmd[1] ); 117 switch( global.storage->save( irc, FALSE )) {117 switch( storage_save( irc, FALSE )) { 118 118 case STORAGE_ALREADY_EXISTS: 119 119 irc_usermsg( irc, "Nick is already registered" ); … … 136 136 storage_status_t status; 137 137 138 status = global.storage->remove (irc->nick, cmd[1]);138 status = storage_remove (irc->nick, cmd[1]); 139 139 switch (status) { 140 140 case STORAGE_NO_SUCH_USER: … … 616 616 int cmd_save( irc_t *irc, char **cmd ) 617 617 { 618 if( global.storage->save( irc, TRUE ) == STORAGE_OK )618 if( storage_save( irc, TRUE ) == STORAGE_OK ) 619 619 irc_usermsg( irc, "Configuration saved" ); 620 620 else
Note: See TracChangeset
for help on using the changeset viewer.