diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-13 18:50:07 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-13 18:50:07 +0000 |
commit | 4e52eb64c71d6e6a25e4033eb87e4659f0107291 (patch) | |
tree | 29f2b78337b3e3a69a63fc7b143272c73b04e3f3 /modules | |
parent | da595ec69fae819205c2f5d95d7e16957f82aa58 (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')
-rw-r--r-- | modules/core/m_kick.c | 2 | ||||
-rw-r--r-- | modules/core/m_sjoin.c | 2 | ||||
-rw-r--r-- | modules/m_dline.c | 4 |
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)) |