summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/notifylist/fe-notifylist.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-01 12:05:50 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-01 12:05:50 +0000
commit56331f78e0742b0418a4259e65ee1a00daa923d6 (patch)
tree375cdc9970daf66eb12fdfcfab83b1dd84a010e2 /src/fe-common/irc/notifylist/fe-notifylist.c
parent6c2480b44f453961204ff28b5571c07a80c55e3b (diff)
downloadirssi-56331f78e0742b0418a4259e65ee1a00daa923d6.zip
Use the nick as target when printing notify messages, so they go to query windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1817 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/notifylist/fe-notifylist.c')
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c
index b4532fb8..6dfb2388 100644
--- a/src/fe-common/irc/notifylist/fe-notifylist.c
+++ b/src/fe-common/irc/notifylist/fe-notifylist.c
@@ -194,7 +194,7 @@ static void notifylist_joined(IRC_SERVER_REC *server, const char *nick,
{
g_return_if_fail(nick != NULL);
- printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
+ printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
IRCTXT_NOTIFY_JOIN, nick, username, host, realname,
server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet);
}
@@ -205,7 +205,7 @@ static void notifylist_left(IRC_SERVER_REC *server, const char *nick,
{
g_return_if_fail(nick != NULL);
- printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, IRCTXT_NOTIFY_PART,
+ printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, IRCTXT_NOTIFY_PART,
nick, username, host, realname,
server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet);
}
@@ -217,11 +217,11 @@ static void notifylist_away(IRC_SERVER_REC *server, const char *nick,
g_return_if_fail(nick != NULL);
if (awaymsg != NULL) {
- printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
+ printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
IRCTXT_NOTIFY_AWAY, nick, username, host, realname, awaymsg,
server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet);
} else {
- printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
+ printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
IRCTXT_NOTIFY_UNAWAY, nick, username, host, realname,
server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet);
}
@@ -233,7 +233,7 @@ static void notifylist_unidle(IRC_SERVER_REC *server, const char *nick,
{
g_return_if_fail(nick != NULL);
- printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
+ printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT,
IRCTXT_NOTIFY_UNIDLE, nick, username, host, realname,
awaymsg != NULL ? awaymsg : "",
server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet);