about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-05-05 00:16:10 +0100
committerJames Booth <boothj5@gmail.com>2013-05-05 00:16:10 +0100
commit8c5866ff52d38cecdf9e52f0d9f30c53bc1c3c03 (patch)
treee06b942e3f61ab8cd14c1389fc2304a827355b4a /src/config
parentc1cf0b433eb13823509b3de2f3e910c3fc009af7 (diff)
downloadprofani-tty-8c5866ff52d38cecdf9e52f0d9f30c53bc1c3c03.tar.gz
Added groupchat logs
closes #168
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c3
-rw-r--r--src/config/preferences.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 1286961c..fe34e00e 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -303,6 +303,7 @@ _get_group(preference_t pref)
         case PREF_NOTIFY_SUB:
             return "notifications";
         case PREF_CHLOG:
+        case PREF_GRLOG:
             return "logging";
         case PREF_AUTOAWAY_CHECK:
         case PREF_AUTOAWAY_MODE:
@@ -352,6 +353,8 @@ _get_key(preference_t pref)
             return "sub";
         case PREF_CHLOG:
             return "chlog";
+        case PREF_GRLOG:
+            return "grlog";
         case PREF_AUTOAWAY_CHECK:
             return "autoaway.check";
         case PREF_AUTOAWAY_MODE:
diff --git a/src/config/preferences.h b/src/config/preferences.h
index 3f4f0b79..cb1f9204 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -53,6 +53,7 @@ typedef enum {
     PREF_NOTIFY_INVITE,
     PREF_NOTIFY_SUB,
     PREF_CHLOG,
+    PREF_GRLOG,
     PREF_AUTOAWAY_CHECK,
     PREF_AUTOAWAY_MODE,
     PREF_AUTOAWAY_MESSAGE