Revert "Quote the filename when dcc requests are auto accepted."

This commit is contained in:
ailin-nemui 2017-03-06 11:27:55 +01:00 committed by GitHub
commit 62fd3ac180
4 changed files with 15 additions and 21 deletions

View file

@ -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);