mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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
@ -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…
Reference in New Issue
Block a user