1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

In msgs window, you can now complete anywhere /MSG completion nicks (eg.

/ignore nick<tab>)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-11 09:13:17 +00:00 committed by cras
parent 27665c5cfb
commit dddd9d17a6

View File

@ -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();