Author: sveinung Date: Mon Jun 27 12:22:37 2016 New Revision: 33062 URL: http://svn.gna.org/viewcvs/freeciv?rev=33062&view=rev Log: Freeciv-web: let a ctrl user change scorelog.
Give custom access levels for the scorelog setting in Freeciv-web builds. All users can see it. A user with the ctrl access level can change it. Freeciv-web gives the ctrl access level to the first player that connects. See patch #7313 Modified: trunk/server/settings.c Modified: trunk/server/settings.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/settings.c?rev=33062&r1=33061&r2=33062&view=diff ============================================================================== --- trunk/server/settings.c (original) +++ trunk/server/settings.c Mon Jun 27 12:22:37 2016 @@ -2797,7 +2797,11 @@ GEN_BOOL("scorelog", game.server.scorelog, SSET_META, SSET_INTERNAL, SSET_SITUATIONAL, +#ifdef FREECIV_WEB + ALLOW_NONE, ALLOW_CTRL, +#else /* FREECIV_WEB */ ALLOW_HACK, ALLOW_HACK, +#endif /* FREECIV_WEB */ N_("Whether to log player statistics"), /* TRANS: The string between single quotes is a setting name and * should not be translated. */ _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits