mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Merge pull request #805 from ailin-nemui/exec-empty
fix /exec -o for blank lines
This commit is contained in:
commit
d85f867261
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