about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-24 23:47:17 +0000
committerJames Booth <boothj5@gmail.com>2016-01-24 23:47:17 +0000
commitb6e9a09c64ca4438aa066759caf9a4008edadd46 (patch)
tree4e0df1861978eabecf69b8a9a6346777c46f9088 /src/config
parent628119680955dfe693dc4109551385f454999771 (diff)
downloadprofani-tty-b6e9a09c64ca4438aa066759caf9a4008edadd46.tar.gz
Show console messages for room mention and triggers
closes #719
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 7e798dc8..bb85c682 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -223,7 +223,6 @@ prefs_message_get_triggers(const char *const message)
     for (i = 0; i < len; i++) {
         char *trigger_lower = g_utf8_strdown(triggers[i], -1);
         if (g_strrstr(message_lower, trigger_lower)) {
-            g_free(trigger_lower);
             result = g_list_append(result, strdup(triggers[i]));
         }
         g_free(trigger_lower);