version 1.72 | | version 1.73 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.72 2005/12/05 23:34:04 akirschbaum Exp $"; | | * "$Id: c_misc.c,v 1.73 2005/12/07 18:25:55 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return; | | return; |
} | | } |
new_draw_info(NDI_UNIQUE, 0,op," "); /* To hide the password better */ | | new_draw_info(NDI_UNIQUE, 0,op," "); /* To hide the password better */ |
| | |
| | if (checkbanned(op->name, op->contr->socket.host)) { |
| | LOG(llevInfo, "Banned player tried to add: [%s@%s]\n", op->name, op->contr->socket.host); |
| | new_draw_info(NDI_UNIQUE|NDI_RED, 0, op, "You are not allowed to play."); |
| | get_name(op); |
| | return; |
| | } |
| | |
if(op->contr->state==ST_CONFIRM_PASSWORD) { | | if(op->contr->state==ST_CONFIRM_PASSWORD) { |
if(!check_password(op->contr->write_buf+1,op->contr->password)) { | | if(!check_password(op->contr->write_buf+1,op->contr->password)) { |
new_draw_info(NDI_UNIQUE, 0,op,"The passwords did not match."); | | new_draw_info(NDI_UNIQUE, 0,op,"The passwords did not match."); |