mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
sig_message_irc_op_public: fix nickmode lookup, use cleantarget instead
This commit is contained in:
parent
618a636f7c
commit
f247a43b97
@ -81,7 +81,7 @@ static void sig_message_irc_op_public(SERVER_REC *server, const char *msg,
|
|||||||
/* and clean the rest here */
|
/* and clean the rest here */
|
||||||
cleantarget = get_visible_target(IRC_SERVER(server), cleantarget);
|
cleantarget = get_visible_target(IRC_SERVER(server), cleantarget);
|
||||||
|
|
||||||
nickmode = channel_get_nickmode(channel_find(server, target),
|
nickmode = channel_get_nickmode(channel_find(server, cleantarget),
|
||||||
nick);
|
nick);
|
||||||
|
|
||||||
optarget = g_strconcat(prefix, cleantarget, NULL);
|
optarget = g_strconcat(prefix, cleantarget, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user