summaryrefslogtreecommitdiff
path: root/src/channel_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel_mode.c')
-rw-r--r--src/channel_mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/channel_mode.c b/src/channel_mode.c
index d486b8d..caeb851 100644
--- a/src/channel_mode.c
+++ b/src/channel_mode.c
@@ -1030,7 +1030,7 @@ chm_op(struct Client *client_p, struct Client *source_p,
opnick = parv[(*parn)++];
- if ((targ_p = find_chasing(client_p, source_p, opnick, NULL)) == NULL)
+ if ((targ_p = find_chasing(source_p, opnick, NULL)) == NULL)
return;
if (!IsClient(targ_p))
return;
@@ -1136,7 +1136,7 @@ chm_hop(struct Client *client_p, struct Client *source_p,
opnick = parv[(*parn)++];
- if ((targ_p = find_chasing(client_p, source_p, opnick, NULL)) == NULL)
+ if ((targ_p = find_chasing(source_p, opnick, NULL)) == NULL)
return;
if (!IsClient(targ_p))
return;
@@ -1212,7 +1212,7 @@ chm_voice(struct Client *client_p, struct Client *source_p,
opnick = parv[(*parn)++];
- if ((targ_p = find_chasing(client_p, source_p, opnick, NULL)) == NULL)
+ if ((targ_p = find_chasing(source_p, opnick, NULL)) == NULL)
return;
if (!IsClient(targ_p))
return;