--- a/mcabber/mcabber/commands.c Wed Nov 10 14:08:24 2010 +0100
+++ b/mcabber/mcabber/commands.c Wed Nov 10 14:08:49 2010 +0100
@@ -195,7 +195,7 @@
COMPL_JID, COMPL_STATUS, &do_status_to);
cmd_add("version", "Show mcabber version", 0, 0, &do_version);
#ifdef MODULES_ENABLE
- cmd_add("module", "Manipulations with modules", 0, 0, &do_module);
+ cmd_add("module", "Manipulations with modules", COMPL_MODULE, 0, &do_module);
#endif
// Status category
@@ -330,6 +330,14 @@
compl_add_category_word(COMPL_COLOR, "roster");
compl_add_category_word(COMPL_COLOR, "muc");
compl_add_category_word(COMPL_COLOR, "mucnick");
+
+#ifdef MODULES_ENABLE
+ // Module category
+ compl_add_category_word(COMPL_MODULE, "info");
+ compl_add_category_word(COMPL_MODULE, "list");
+ compl_add_category_word(COMPL_MODULE, "load");
+ compl_add_category_word(COMPL_MODULE, "unload");
+#endif
}
// expandalias(line)