diff options
author | lightb <lightb@bigfoot> | 2014-04-19 04:18:53 -0400 |
---|---|---|
committer | lightb <lightb@bigfoot> | 2014-04-19 04:18:53 -0400 |
commit | a687e3f6b4abe5e5917d25fea9f9d0bfb0c3a98d (patch) | |
tree | 060fac8525db11ac8adf7cb5c60e16b29731d08d /src/config | |
parent | 02b77cfa4e9b600c03c2fa79ab0e3fa55c33961f (diff) | |
download | profani-tty-a687e3f6b4abe5e5917d25fea9f9d0bfb0c3a98d.tar.gz |
Added /otr policy to commands (still need to add autocomplete stuff?)
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 4c00597e..f4133413 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -45,6 +45,7 @@ #define PREF_GROUP_PRESENCE "presence" #define PREF_GROUP_CONNECTION "connection" #define PREF_GROUP_ALIAS "alias" +#define PREF_GROUP_OTR_POLICY "policy" static gchar *prefs_loc; static GKeyFile *prefs; @@ -396,6 +397,8 @@ _get_group(preference_t pref) case PREF_LOG_ROTATE: case PREF_LOG_SHARED: return PREF_GROUP_LOGGING; + case PREF_OTR_POLICY: + return PREF_GROUP_OTR_POLICY; case PREF_AUTOAWAY_CHECK: case PREF_AUTOAWAY_MODE: case PREF_AUTOAWAY_MESSAGE: |