Skip to content

Commit

Permalink
Fixed potential disconnection of users doing tempdesc edits-- but doe…
Browse files Browse the repository at this point in the history
…s this break something? Need to test.
  • Loading branch information
luciensadi committed Nov 16, 2023
1 parent dc5cc3a commit 137dd1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3345,8 +3345,12 @@ void nanny(struct descriptor_data * d, char *arg)
case CON_ASKNAME:
break;

// Is a break here the right move? Need to test this.
case CON_TEMPDESC_EDIT:
break;

default:
log("SYSERR: Nanny: illegal state of con'ness; closing connection");
log_vfprintf("SYSERR: Nanny: illegal state of con'ness %d; closing connection", STATE(d));
close_socket(d);
break;
}
Expand Down

0 comments on commit 137dd1a

Please sign in to comment.