mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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
@ -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" :
|
str = g_strdup_printf(IS_CHANNEL(item) ? "-channel \"%s\" %s" :
|
||||||
IS_QUERY(item) ? "-nick \"%s\" %s" : "%s %s",
|
IS_QUERY(item) ? "-nick \"%s\" %s" : "%s %s",
|
||||||
window_item_get_target(item), line);
|
window_item_get_target(item), line);
|
||||||
|
Loading…
Reference in New Issue
Block a user