2005-08-11 Alex Schumann <rubin@afternet.org>
* src/proto-p10.c: Avoid duplicating an oper in curr_opers (,staff
- command) when nef* bug sends the +o twice.
+ command) when nef* bug sends the +o twice. ++fix bug in patch
2005-08-09 Alex Schumann <rubin@afternet.org>
case '+': add = 1; break;
case '-': add = 0; break;
case 'o':
- do_user_mode(FLAGS_OPER);
if (add) {
if(!IsOper(user)) { /* Dont re-oper an oper */
userList_append(&curr_opers, user);
} else {
userList_remove(&curr_opers, user);
}
+ do_user_mode(FLAGS_OPER);
break;
case 'O': do_user_mode(FLAGS_LOCOP); break;
case 'i': do_user_mode(FLAGS_INVISIBLE);