diff options
author | lightb <lightb@bigfoot> | 2014-04-19 04:00:41 -0400 |
---|---|---|
committer | lightb <lightb@bigfoot> | 2014-04-19 04:00:41 -0400 |
commit | 02b77cfa4e9b600c03c2fa79ab0e3fa55c33961f (patch) | |
tree | c94f656f74fcabdaae7adf4b3426fc92fdc8cbd1 /src/config | |
parent | 3303376b4209a7f6005332bd113642ad68ca3c1e (diff) | |
download | profani-tty-02b77cfa4e9b600c03c2fa79ab0e3fa55c33961f.tar.gz |
Added PREF_OTR_POLICY to preferences.c -> key -> otr.policy
Added default value "manual" to PREF_OTR_POLICy -> preferences.c Modified help string to reflect otr_policy, started checks on cmd_otr
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 9cc91cb6..4c00597e 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -466,6 +466,8 @@ _get_key(preference_t pref) return "otr"; case PREF_OTR_WARN: return "otr.warn"; + case PREF_OTR_POLICY: + return "otr.policy"; case PREF_LOG_ROTATE: return "rotate"; case PREF_LOG_SHARED: @@ -500,6 +502,8 @@ _get_default_string(preference_t pref) return "off"; case PREF_OTR_LOG: return "redact"; + case PREF_OTR_POLICY: + return "manual"; case PREF_STATUSES_CONSOLE: case PREF_STATUSES_CHAT: case PREF_STATUSES_MUC: |