--- a/finch/gntdebug.c Thu May 10 21:47:47 2007 +0000 +++ b/finch/gntdebug.c Fri May 11 01:46:07 2007 +0000 @@ -54,9 +54,9 @@ const char *str = gnt_entry_get_text(GNT_ENTRY(debug.search)); if (!str || !*str) return TRUE; - if (g_ascii_strcasecmp(str, category) == 0) + if (g_strrstr(category, str) != NULL) return TRUE; - if (g_ascii_strcasecmp(str, args) == 0) + if (g_strrstr(args, str) != NULL) return TRUE; return FALSE; }