URL: <http://gna.org/bugs/?24774>
Summary: Observers keeps ctrl permissions Project: Freeciv Submitted by: taka Submitted on: 2016年06月20日 12時01分37秒 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: Any Planned Release: Contains string changes: None _______________________________________________________ Details: When players starts a game, players losts his ctrl permissions. But observers doesn't lost ctrl permissions. Therefore game players couldn't get ctrl permissions using /first command if there are non-player with ctrl. --- freeciv-2.5.4/server/srv_main.c.org 2016-05-14 20:22:00 +0900 +++ freeciv-2.5.4/server/srv_main.c 2016-06-20 20:42:36 +0900 @@ -1411,7 +1411,7 @@ } /* Remove ALLOW_CTRL from whoever has it (gotten from 'first'). */ - conn_list_iterate(game.est_connections, pconn) { + conn_list_iterate(game.all_connections, pconn) { if (pconn->access_level == ALLOW_CTRL) { notify_conn(NULL, NULL, E_SETTING, ftc_server, _("%s lost control cmdlevel on " _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24774> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev