--- a/mcabber/mcabber/screen.c Sat Mar 13 11:57:32 2010 +0100
+++ b/mcabber/mcabber/screen.c Sat Mar 13 13:18:07 2010 +0100
@@ -3522,7 +3522,9 @@
guint n;
char *prefix = g_strndup(row, ptr_inputline-row);
// Init completion
- n = new_completion(prefix, list);
+ n = new_completion(prefix, list,
+ (compl_categ == COMPL_RESOURCE ?
+ settings_opt_get("completion_muc_suffix") : NULL));
g_free(prefix);
if (n == 0 && nrow == -1) {
// This is a MUC room and we can't complete from the beginning of the
@@ -3540,7 +3542,7 @@
// There's no need to try again if row == inputLine
if (row > inputLine) {
prefix = g_strndup(row, ptr_inputline-row);
- new_completion(prefix, list);
+ new_completion(prefix, list, NULL);
g_free(prefix);
}
}