summaryrefslogtreecommitdiff
path: root/src/ini_type.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-28 16:39:48 +0200
committerPatric Stout <github@truebrain.nl>2021-07-02 14:30:14 +0200
commit75b6051b7ae3aade1f06c8eb2bb915add4f317d1 (patch)
treef1fc0f61e208c58001c19da5bd9c4005c100e9b5 /src/ini_type.h
parent4f3bf84af4eb03936c0242871d7fb5b3b3214e2d (diff)
downloadopenttd-75b6051b7ae3aade1f06c8eb2bb915add4f317d1.tar.xz
Change: move sensitive information to secrets.cfg and private information to private.cfg
We often ask people for their openttd.cfg, which now includes their passwords, usernames, etc. It is easy for people to overlook this, unwillingly sharing information they shouldn't. By splitting this information over either private.cfg or secrets.cfg, we make it more obvious they shouldn't be sharing those files, and hint to what is inside them.
Diffstat (limited to 'src/ini_type.h')
-rw-r--r--src/ini_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ini_type.h b/src/ini_type.h
index 882ccc789..607e8940b 100644
--- a/src/ini_type.h
+++ b/src/ini_type.h
@@ -47,6 +47,7 @@ struct IniGroup {
~IniGroup();
IniItem *GetItem(const std::string &name, bool create);
+ void RemoveItem(const std::string &name);
void Clear();
};