URL: <http://gna.org/bugs/?20525>
Summary: Unused message for /delegate command Project: Freeciv Submitted by: pepeto Submitted on: lun. 18 févr. 2013 10:42:50 CET Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: S2_4, trunk Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: In function delegate_command() (server/stdinhand.c), you can look: case DELEGATE_TAKE: /* Try to take another player. */ fc_assert_ret_val(dplayer, FALSE); fc_assert_ret_val(caller, FALSE); if (caller->server.delegation.status) { cmd_reply(CMD_DELEGATE, caller, C_FAIL, _("Please restore first your original connection.")); ret = FALSE; goto cleanup; } [...] /* No chain of delegations. */ if (caller->server.delegation.status == TRUE) { cmd_reply(CMD_TAKE, caller, C_FAIL, _("You are currently using a delegation. Cancel it first.")); ret = FALSE; goto cleanup; } I doubt the second message can be displayed by any way... _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20525> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev