1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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:
Timo Sirainen 2002-07-01 21:39:07 +00:00 committed by cras
parent 9b74acc9ab
commit 35889a4ca8

View File

@ -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 */ /* use "--" just in case the nick contains '-' character */
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);
signal_emit("command msg", 3, str, server, item); signal_emit("command msg", 3, str, server, item);