mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2864 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
35889a4ca8
commit
ddfc6aebcc
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue