diff options
author | Timo Sirainen <cras@irssi.org> | 2002-07-01 21:45:16 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-07-01 21:45:16 +0000 |
commit | ddfc6aebcc2ba205ec6fe33f77027a9d9d727c59 (patch) | |
tree | 92a097978ab915ba2ae80362d56a7b0cb8b86ec8 /src | |
parent | 35889a4ca8ad60f43505ed6b7d0ac2589eba61e1 (diff) | |
download | irssi-ddfc6aebcc2ba205ec6fe33f77027a9d9d727c59.zip |
comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2864 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/chat-completion.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 9e1c6eca..c70f7e5b 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -953,7 +953,9 @@ static void event_text(const char *data, SERVER_REC *server, WI_ITEM_REC *item) } } - /* use "--" just in case the nick contains '-' character */ + /* the nick is quoted in case it contains '-' character. also + spaces should work too now :) Unquoter function also allows + '"' characters as long as the next character isn't space. */ str = g_strdup_printf(IS_CHANNEL(item) ? "-channel \"%s\" %s" : IS_QUERY(item) ? "-nick \"%s\" %s" : "%s %s", window_item_get_target(item), line); |