summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-10-13 18:50:07 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-10-13 18:50:07 +0000
commit4e52eb64c71d6e6a25e4033eb87e4659f0107291 (patch)
tree29f2b78337b3e3a69a63fc7b143272c73b04e3f3 /modules/core
parentda595ec69fae819205c2f5d95d7e16957f82aa58 (diff)
- find_person(): fixed naming convention
- find_chasing(): reduced required arguments git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2476 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/m_kick.c2
-rw-r--r--modules/core/m_sjoin.c2
2 files changed, 2 insertions, 2 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.