* In the event two descriptors were connected to a Guest, and
one disconnected. Possible through possesing a Guest using @su.
Guest was destroyed even though it was connected. [RLB]
+ * Certain command restrictions that were applied did not give
+ appropriate command failure messages correctly. [RLB]
#endif
if ((cmd->type & CMD_T_NOGUEST) && Guest(player)) {
mess = T("Guests cannot do that.");
- return 0;
+ goto send_error;
}
if ((cmd->type & CMD_T_GOD) && (!God(player))) {
mess = T("Only God can do that.");
- return 0;
+ goto send_error;
}
switch (Typeof(player)) {
case TYPE_ROOM: