From dddd9d17a6fc3c35dc15255fb67a10682af8a2a3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 11 Feb 2002 09:13:17 +0000 Subject: [PATCH] In msgs window, you can now complete anywhere /MSG completion nicks (eg. /ignore nick) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/chat-completion.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index a3d92ccd..0d74acaf 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -22,6 +22,7 @@ #include "signals.h" #include "commands.h" #include "misc.h" +#include "levels.h" #include "settings.h" #include "chatnets.h" @@ -603,6 +604,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window, /* nick completion .. we could also be completing a nick after /MSG from nicks in channel */ complete_window_nicks(list, window, word, linestart); + } else if (window->level & MSGLEVEL_MSGS) { + /* msgs window, complete /MSG nicks */ + *list = completion_msg(server, NULL, word, NULL); } if (*list != NULL) signal_stop();