mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
24fe627a25
commit
b8ac543f82
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user