diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2017-03-06 11:27:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 11:27:55 +0100 |
commit | 62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a (patch) | |
tree | 2b052ce59e55739073f92ee8917c7701c2135a23 /src/fe-common/core | |
parent | 29f27cfb39a86094af746c1cd654d33436d29479 (diff) | |
download | irssi-62fd3ac1804d5d45bc2302ceac9ee9c7ef372e1a.zip |
Revert "Quote the filename when dcc requests are auto accepted."
Diffstat (limited to 'src/fe-common/core')
-rw-r--r-- | src/fe-common/core/chat-completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 4fe9509a..1f00feaf 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -1113,7 +1113,7 @@ static void event_text(const char *data, SERVER_REC *server, WI_ITEM_REC *item) /* the nick is quoted in case it contains '-' character. also spaces should work too now :) The nick is also escaped in case it contains '\' characters */ - target = escape_string(window_item_get_target(item), "\"'\\"); + target = escape_string(window_item_get_target(item)); str = g_strdup_printf(IS_CHANNEL(item) ? "-channel \"%s\" %s" : IS_QUERY(item) ? "-nick \"%s\" %s" : "%s %s", target, line); |