summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-ctcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c
index 6ae341a4c..84268c5d5 100644
--- a/src/plugins/irc/irc-ctcp.c
+++ b/src/plugins/irc/irc-ctcp.c
@@ -809,7 +809,7 @@ irc_ctcp_recv (struct t_irc_server *server, const char *command,
while (arguments && arguments[0])
{
- pos_end = strchr (arguments + 1, '\01');
+ pos_end = strrchr (arguments + 1, '\01');
if (pos_end)
pos_end[0] = '\0';