diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-11 21:01:30 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-11 21:01:30 +0000 |
commit | b8e1bb044459590531b98daf50682e33914636c3 (patch) | |
tree | feb5a9797d1a78dd38ac27ec5b733cf32f14ebc6 | |
parent | 10c92487a3d3a730efe87f49ef4df0f70fe6581b (diff) | |
download | irssi-b8e1bb044459590531b98daf50682e33914636c3.zip |
Print "starting query with <nick>" when query is created.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@325 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/irc/fe-query.c | 1 | ||||
-rw-r--r-- | src/fe-common/irc/module-formats.c | 1 | ||||
-rw-r--r-- | src/fe-common/irc/module-formats.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-query.c b/src/fe-common/irc/fe-query.c index 5444a031..69b6a683 100644 --- a/src/fe-common/irc/fe-query.c +++ b/src/fe-common/irc/fe-query.c @@ -37,6 +37,7 @@ static int queryclose_tag, query_auto_close; static void signal_query_created(QUERY_REC *query, gpointer automatic) { window_item_create((WI_ITEM_REC *) query, GPOINTER_TO_INT(automatic)); + printformat(query->server, query->nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_QUERY_STARTED, query->nick); } static void signal_query_created_curwin(QUERY_REC *query) diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index 447ce8fe..28e12633 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -197,6 +197,7 @@ FORMAT_REC fecommon_irc_formats[] = { { "ignore_line", "$[-4]0 $1: $2 $3 $4", 5, { 1, 0, 0, 0, 0 } }, { "ignore_footer", "", 0 }, { "talking_in", "You are now talking in %_$0%_", 1, { 0 } }, + { "query_start", "Starting query with %_$0%_", 1, { 0 } }, { "no_query", "No query with %_$0%_", 1, { 0 } }, { "no_msgs_got", "You have not received a message from anyone yet", 0 }, { "no_msgs_sent", "You have not sent a message to anyone yet", 0 }, diff --git a/src/fe-common/irc/module-formats.h b/src/fe-common/irc/module-formats.h index 1450b7cf..daf84a02 100644 --- a/src/fe-common/irc/module-formats.h +++ b/src/fe-common/irc/module-formats.h @@ -167,6 +167,7 @@ enum { IRCTXT_IGNORE_LINE, IRCTXT_IGNORE_FOOTER, IRCTXT_TALKING_IN, + IRCTXT_QUERY_STARTED, IRCTXT_NO_QUERY, IRCTXT_NO_MSGS_GOT, IRCTXT_NO_MSGS_SENT |