mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix logic in how actions are printed for other protocols
This causes subsequent window_item_set_active() check, further down in the same function, to evaluate correctly, and getting the action message printed using correct format.
This commit is contained in:
parent
1c9990acab
commit
3057c9e920
@ -208,7 +208,7 @@ static void sig_message_irc_action(IRC_SERVER_REC *server, const char *msg,
|
||||
return;
|
||||
|
||||
if (server_ischannel(SERVER(server), target)) {
|
||||
item = irc_channel_find(server, target);
|
||||
item = channel_find(SERVER(server), target);
|
||||
} else {
|
||||
own = (!g_strcmp0(nick, server->nick));
|
||||
item = privmsg_get_query(SERVER(server), own ? target : nick, FALSE, level);
|
||||
|
Loading…
Reference in New Issue
Block a user