1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request 'Fix logic in how actions are printed for other protocols' (!3) from ticho/irssi:nonirc-action-print-fix into master

Reviewed-on: https://codeberg.org/irssi/irssi/pulls/3
This commit is contained in:
ailin-nemui 2023-03-21 06:25:57 +00:00
commit bdec87e208

View File

@ -208,7 +208,7 @@ static void sig_message_irc_action(IRC_SERVER_REC *server, const char *msg,
return; return;
if (server_ischannel(SERVER(server), target)) { if (server_ischannel(SERVER(server), target)) {
item = irc_channel_find(server, target); item = channel_find(SERVER(server), target);
} else { } else {
own = (!g_strcmp0(nick, server->nick)); own = (!g_strcmp0(nick, server->nick));
item = privmsg_get_query(SERVER(server), own ? target : nick, FALSE, level); item = privmsg_get_query(SERVER(server), own ? target : nick, FALSE, level);