mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fix /exec -o for blank lines
since it is not allowed to send nothing, instead of spamming the status window with error, send " " instead Fixes FS#902
This commit is contained in:
parent
e405330e04
commit
b111f038dd
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ static void sig_exec_input(PROCESS_REC *rec, const char *text)
|
|||
|
||||
str = g_strconcat(rec->target_nick ? "-nick " :
|
||||
rec->target_channel ? "-channel " : "",
|
||||
rec->target, " ", text, NULL);
|
||||
rec->target, " ", *text == '\0' ? " " : text, NULL);
|
||||
signal_emit(rec->notice ? "command notice" : "command msg",
|
||||
3, str, server, item);
|
||||
g_free(str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue