1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Stop the 'complete word' signal in the default completer when the

channel name completion list is non empty, bug #316.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-05-16 12:46:09 +00:00 committed by exg
parent 24fe627a25
commit b8ac543f82

View File

@ -632,6 +632,7 @@ static void sig_complete_word(GList **list, WINDOW_REC *window,
if (server != NULL && server_ischannel(server, word)) {
/* probably completing a channel name */
*list = completion_get_channels(window->active_server, word);
if (*list != NULL) signal_stop();
return;
}