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

When input line is in redirection mode, allow empty lines (eg. enter after

/OPER now aborts it)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 16:36:35 +00:00 committed by cras
parent 25ed0acc65
commit e5ab1daf30

View File

@ -175,7 +175,7 @@ static void key_send_line(void)
char *str, *add_history;
str = gui_entry_get_text(active_entry);
if (str == NULL || *str == '\0') {
if (str == NULL || (*str == '\0' && redir == NULL)) {
g_free(str);
return;
}