(disabled_commands): New econfig key.

(disable_coms): New, implements disabled_commands.
(init_player_commands): Call it.
This commit is contained in:
Markus Armbruster 2006-06-17 20:27:36 +00:00
parent db1ac2edf4
commit b63c69ef20
3 changed files with 30 additions and 1 deletions

View file

@ -397,6 +397,8 @@ EMPCFBOTH("trade_ally_cut", trade_ally_cut, float, NSC_FLOAT, 0,
"Bonus your ally gets for you cashing in with them")
EMPCF_COMMENT("\n\n### Misc.")
EMPCFBOTH("disabled_commands", disabled_commands, char *, NSC_STRING, KM_INTERNAL,
"Disabled commands, separated by space")
EMPCFBOTH("anno_keep_days", anno_keep_days, int, NSC_INT, KM_INTERNAL,
"How long until announcements expire (<0 means never)")
EMPCFBOTH("news_keep_days", news_keep_days, int, NSC_INT, KM_INTERNAL,