mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
the -nick fix broke things :) now a proper fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2863 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9b74acc9ab
commit
35889a4ca8
1 changed files with 2 additions and 2 deletions
|
|
@ -954,8 +954,8 @@ static void event_text(const char *data, SERVER_REC *server, WI_ITEM_REC *item)
|
|||
}
|
||||
|
||||
/* use "--" just in case the nick contains '-' character */
|
||||
str = g_strdup_printf(IS_CHANNEL(item) ? "-channel %s -- %s" :
|
||||
IS_QUERY(item) ? "-nick %s -- %s" : "-- %s %s",
|
||||
str = g_strdup_printf(IS_CHANNEL(item) ? "-channel \"%s\" %s" :
|
||||
IS_QUERY(item) ? "-nick \"%s\" %s" : "%s %s",
|
||||
window_item_get_target(item), line);
|
||||
|
||||
signal_emit("command msg", 3, str, server, item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue