diff -r 574e404ab82f -r cfb02882828d tune.c --- a/tune.c Sun Sep 23 15:38:29 2012 +0300 +++ b/tune.c Thu Oct 18 23:24:14 2012 +0300 @@ -236,7 +236,12 @@ void tune_init(void) { +#ifdef MCABBER_API_HAVE_COMPL_FLAGS + tune_cid = compl_new_category (COMPL_FLAGS_SORT); +#else tune_cid = compl_new_category (); +#endif + if (tune_cid) { compl_add_category_word (tune_cid, "artist="); compl_add_category_word (tune_cid, "length=");