Changeset 9564e55 for irc_commands.c
- Timestamp:
- 2010-11-22T13:17:45Z (13 years ago)
- Branches:
- master
- Children:
- bedad20
- Parents:
- 09d4922
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_commands.c
r09d4922 r9564e55 401 401 static void irc_cmd_oper( irc_t *irc, char **cmd ) 402 402 { 403 account_t *a; 404 405 /* /OPER can now also be used to enter IM passwords without echoing. 406 It's a hack but the extra password security is worth it. */ 407 for( a = irc->b->accounts; a; a = a->next ) 408 if( strcmp( a->pass, PASSWORD_PENDING ) == 0 ) 409 { 410 set_setstr( &a->set, "password", cmd[2] ); 411 return; 412 } 413 403 414 if( global.conf->oper_pass && 404 415 ( strncmp( global.conf->oper_pass, "md5:", 4 ) == 0 ?
Note: See TracChangeset
for help on using the changeset viewer.