mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
544af9942e
commit
aa3513eaaf
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user