diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-08 17:00:08 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-08 17:00:08 +0100 |
commit | 7cad7b41a0b661c38ae5f6239aaf58361788edc9 (patch) | |
tree | 213ab238ece2ab120b7ec25f62b19224b37d6856 /commands.c | |
parent | 09adf08684c62fff0f507304ed37680137de4637 (diff) |
Clearer seperation between crypting and generic password code
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,7 +113,7 @@ int cmd_register( irc_t *irc, char **cmd ) return( 0 ); } - setpassnc( irc, cmd[1] ); + irc_setpass( irc, cmd[1] ); switch( global.storage->save( irc, FALSE )) { case STORAGE_ALREADY_EXISTS: irc_usermsg( irc, "Nick is already registered" ); @@ -144,7 +144,7 @@ int cmd_drop( irc_t *irc, char **cmd ) irc_usermsg( irc, "Password invalid" ); return( 0 ); case STORAGE_OK: - setpassnc( irc, NULL ); + irc_setpass( irc, NULL ); irc_usermsg( irc, "Account `%s' removed", irc->nick ); return( 0 ); default: |