summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/core/m_kick.c2
-rw-r--r--modules/core/m_sjoin.c2
-rw-r--r--modules/m_dline.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c
index 75a2b84..26dccfa 100644
--- a/modules/core/m_kick.c
+++ b/modules/core/m_kick.c
@@ -158,7 +158,7 @@ m_kick(struct Client *client_p, struct Client *source_p,
if (*user == '\0')
return;
- if ((who = find_chasing(client_p, source_p, user, &chasing)) == NULL)
+ if ((who = find_chasing(source_p, user, &chasing)) == NULL)
return;
if ((ms_target = find_channel_link(who, chptr)) != NULL)
diff --git a/modules/core/m_sjoin.c b/modules/core/m_sjoin.c
index e9e4532..204bb29 100644
--- a/modules/core/m_sjoin.c
+++ b/modules/core/m_sjoin.c
@@ -342,7 +342,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p,
}
} while (valid_mode);
- target_p = find_chasing(client_p, source_p, s, NULL);
+ target_p = find_chasing(source_p, s, NULL);
/*
* if the client doesnt exist, or if its fake direction/server, skip.
diff --git a/modules/m_dline.c b/modules/m_dline.c
index 08591b0..1df92ef 100644
--- a/modules/m_dline.c
+++ b/modules/m_dline.c
@@ -192,7 +192,7 @@ mo_dline(struct Client *client_p, struct Client *source_p,
if ((t = parse_netmask(dlhost, NULL, &bits)) == HM_HOST)
{
- if ((target_p = find_chasing(client_p, source_p, dlhost, NULL)) == NULL)
+ if ((target_p = find_chasing(source_p, dlhost, NULL)) == NULL)
return;
if (!MyConnect(target_p))
@@ -311,7 +311,7 @@ ms_dline(struct Client *client_p, struct Client *source_p,
return;
if ((t = parse_netmask(dlhost, NULL, &bits)) == HM_HOST)
{
- if ((target_p = find_chasing(client_p, source_p, dlhost, NULL)) == NULL)
+ if ((target_p = find_chasing(source_p, dlhost, NULL)) == NULL)
return;
if (!MyConnect(target_p))