1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Query: sending msg displayed msg[nick] instead of the plain <nick>

Nick's address didn't show up in topic bar


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@180 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-04-27 08:05:51 +00:00 committed by cras
parent 79dbc156b6
commit 9471d16ba3
2 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,7 @@ static void cmd_msg(gchar *data, IRC_SERVER_REC *server, WI_ITEM_REC *item)
{ {
/* private message */ /* private message */
printformat(server, target, MSGLEVEL_MSGS | MSGLEVEL_NOHILIGHT, printformat(server, target, MSGLEVEL_MSGS | MSGLEVEL_NOHILIGHT,
channel == NULL ? IRCTXT_OWN_MSG_PRIVATE : IRCTXT_OWN_MSG_PRIVATE_QUERY, target, msg, server->nick); query_find(server, target) == NULL ? IRCTXT_OWN_MSG_PRIVATE : IRCTXT_OWN_MSG_PRIVATE_QUERY, target, msg, server->nick);
} }
g_free_not_null(freestr); g_free_not_null(freestr);

View File

@ -579,12 +579,14 @@ static void read_settings(void)
signal_add("window changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_add("window changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_add("window item changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_add("window item changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_add("channel topic changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_add("channel topic changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_add("query address changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
} else if (topic_tag != -1 && !settings_get_bool("toggle_show_topicbar")) { } else if (topic_tag != -1 && !settings_get_bool("toggle_show_topicbar")) {
gui_statusbar_delete(TRUE, 0); gui_statusbar_delete(TRUE, 0);
topic_tag = -1; topic_tag = -1;
signal_remove("window changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_remove("window changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_remove("window item changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_remove("window item changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_remove("channel topic changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw); signal_remove("channel topic changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
signal_remove("query address changed", (SIGNAL_FUNC) sig_statusbar_topic_redraw);
} }
lag_min_show = settings_get_int("lag_min_show")*10; lag_min_show = settings_get_int("lag_min_show")*10;