mood.c
changeset 41 cfb02882828d
parent 35 a77a8e7ab8ae
child 44 636ef7fe3d5b
--- a/mood.c	Sun Sep 23 15:38:29 2012 +0300
+++ b/mood.c	Thu Oct 18 23:24:14 2012 +0300
@@ -245,7 +245,12 @@
 
 void mood_init (void)
 {
+#ifdef MCABBER_API_HAVE_COMPL_FLAGS
+	mood_cid = compl_new_category (COMPL_FLAGS_SORT);
+#else
 	mood_cid = compl_new_category ();
+#endif
+
 	if (mood_cid) {
 		const gchar **mood;