summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-irc-messages.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-09-11 18:02:17 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-09-11 18:02:17 +0000
commit8cab35aed35243952d1d1ae50b6231501a213e99 (patch)
tree077bda43f4c782298cb1f357baa020fb8dec2882 /src/fe-common/irc/fe-irc-messages.c
parenteb9f1eb9850fa1254feee9f740f525e49240fbdc (diff)
downloadirssi-8cab35aed35243952d1d1ae50b6231501a213e99.zip
Server notices shouldn't contain target field when printing it, it's always
you anyway. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1790 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/fe-irc-messages.c')
-rw-r--r--src/fe-common/irc/fe-irc-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-irc-messages.c b/src/fe-common/irc/fe-irc-messages.c
index d521ac94..8bd49bcb 100644
--- a/src/fe-common/irc/fe-irc-messages.c
+++ b/src/fe-common/irc/fe-irc-messages.c
@@ -194,7 +194,7 @@ static void sig_message_irc_notice(SERVER_REC *server, const char *msg,
/* notice from server */
if (!ignore_check(server, nick, "",
target, msg, MSGLEVEL_SNOTES)) {
- printformat(server, target, MSGLEVEL_SNOTES,
+ printformat(server, NULL, MSGLEVEL_SNOTES,
IRCTXT_NOTICE_SERVER, nick, msg);
}
return;