diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-03 19:50:21 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-03 19:50:21 +0000 |
commit | aa3513eaaf44bbdde6f05d605ab5b54fe3f031a5 (patch) | |
tree | 27481c831e1cdfe2a99661fb502fedc2e58d19e2 | |
parent | 544af9942e57b5262fed1a5c30ee108aeb747d08 (diff) | |
download | irssi-aa3513eaaf44bbdde6f05d605ab5b54fe3f031a5.zip |
Show @#channel notices as regular notices again. Don't hilight it or @#channel msgs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2184 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/irc/fe-events.c | 12 | ||||
-rw-r--r-- | src/fe-common/irc/fe-irc-messages.c | 4 |
2 files changed, 5 insertions, 11 deletions
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index 3ef74105..a4758c1d 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -94,14 +94,8 @@ static void event_notice(IRC_SERVER_REC *server, const char *data, server->real_address; } - if (*target == '@' && ischannel(target[1])) { - /* /WALLCHOPS received */ - signal_emit("message irc op_public", 5, - server, msg, nick, addr, target+1); - } else { - signal_emit("message irc notice", 5, - server, msg, nick, addr, target); - } + signal_emit("message irc notice", 5, + server, msg, nick, addr, target); g_free(params); } @@ -316,7 +310,7 @@ static void event_connected(IRC_SERVER_REC *server) return; /* someone has our nick, find out who. */ - server_redirect_event(server, "whois", 1, nick, FALSE, NULL, + server_redirect_event(server, "whois", 1, nick, TRUE, NULL, "event 311", "nickfind event whois", "", "event empty", NULL); irc_send_cmdv(server, "WHOIS %s", nick); diff --git a/src/fe-common/irc/fe-irc-messages.c b/src/fe-common/irc/fe-irc-messages.c index 92a66460..b22f5cea 100644 --- a/src/fe-common/irc/fe-irc-messages.c +++ b/src/fe-common/irc/fe-irc-messages.c @@ -85,8 +85,8 @@ static void sig_message_irc_op_public(SERVER_REC *server, const char *msg, optarget = g_strconcat("@", target, NULL); printformat_module("fe-common/core", server, target, - MSGLEVEL_PUBLIC | MSGLEVEL_HILIGHT, - TXT_PUBMSG_ME_CHANNEL, + MSGLEVEL_PUBLIC, + TXT_PUBMSG_CHANNEL, nick, optarget, msg, nickmode); g_free(optarget); } |