about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
authorlightb <lightb@bigfoot>2014-04-19 04:18:53 -0400
committerlightb <lightb@bigfoot>2014-04-19 04:18:53 -0400
commita687e3f6b4abe5e5917d25fea9f9d0bfb0c3a98d (patch)
tree060fac8525db11ac8adf7cb5c60e16b29731d08d /src/config/preferences.c
parent02b77cfa4e9b600c03c2fa79ab0e3fa55c33961f (diff)
downloadprofani-tty-a687e3f6b4abe5e5917d25fea9f9d0bfb0c3a98d.tar.gz
Added /otr policy to commands (still need to add autocomplete stuff?)
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c3
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:
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253