summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-09-22 19:35:10 -0300
committerdequis <dx@dxzone.com.ar>2015-09-22 19:35:10 -0300
commitf247a43b97731cd1d58ec765dd2d10f885ef66dc (patch)
tree80458a5b8b67a9818b6b33f7b20d21d1c8b1c016 /src/fe-common/irc
parent618a636f7ca2a7b915bedc1cba2860e2b948a2a2 (diff)
downloadirssi-f247a43b97731cd1d58ec765dd2d10f885ef66dc.zip
sig_message_irc_op_public: fix nickmode lookup, use cleantarget instead
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-irc-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-irc-messages.c b/src/fe-common/irc/fe-irc-messages.c
index 110fb29a..40ca306d 100644
--- a/src/fe-common/irc/fe-irc-messages.c
+++ b/src/fe-common/irc/fe-irc-messages.c
@@ -81,7 +81,7 @@ static void sig_message_irc_op_public(SERVER_REC *server, const char *msg,
/* and clean the rest here */
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);
optarget = g_strconcat(prefix, cleantarget, NULL);