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:
parent
25ed0acc65
commit
e5ab1daf30
@ -175,7 +175,7 @@ static void key_send_line(void)
|
|||||||
char *str, *add_history;
|
char *str, *add_history;
|
||||||
|
|
||||||
str = gui_entry_get_text(active_entry);
|
str = gui_entry_get_text(active_entry);
|
||||||
if (str == NULL || *str == '\0') {
|
if (str == NULL || (*str == '\0' && redir == NULL)) {
|
||||||
g_free(str);
|
g_free(str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user