Changeset c029350
- Timestamp:
- 2008-03-16T17:17:23Z (17 years ago)
- Branches:
- master
- Children:
- 6612cc9
- Parents:
- ec0355f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
rec0355f rc029350 31 31 { 32 32 if( global.conf->auth_pass && 33 strncmp( global.conf->auth_pass, "md5:", 4 ) == 0 ?34 md5_verify_password( cmd[1], global.conf->auth_pass + 4 ) == 0 :35 strcmp( cmd[1], global.conf->auth_pass ) == 0)33 ( strncmp( global.conf->auth_pass, "md5:", 4 ) == 0 ? 34 md5_verify_password( cmd[1], global.conf->auth_pass + 4 ) == 0 : 35 strcmp( cmd[1], global.conf->auth_pass ) == 0 ) ) 36 36 { 37 37 irc->status |= USTATUS_AUTHORIZED; … … 92 92 { 93 93 if( global.conf->oper_pass && 94 strncmp( global.conf->oper_pass, "md5:", 4 ) == 0 ?95 md5_verify_password( cmd[2], global.conf->oper_pass + 4 ) == 0 :96 strcmp( cmd[2], global.conf->oper_pass ) == 0)94 ( strncmp( global.conf->oper_pass, "md5:", 4 ) == 0 ? 95 md5_verify_password( cmd[2], global.conf->oper_pass + 4 ) == 0 : 96 strcmp( cmd[2], global.conf->oper_pass ) == 0 ) ) 97 97 { 98 98 irc_umode_set( irc, "+o", 1 );
Note: See TracChangeset
for help on using the changeset viewer.