summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-04 21:29:43 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-07-04 21:29:43 +0000
commit1f13d094d7326b589c3be69c878c7c1650be1312 (patch)
treebf73772ced9605edeaf0b8f668f03313a65194b0 /modules
parent268c8181dbcc476053f6db6033d9943da336569f (diff)
- find_accept(): solved XXX
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2364 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_accept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_accept.c b/modules/m_accept.c
index 84cec49..7815083 100644
--- a/modules/m_accept.c
+++ b/modules/m_accept.c
@@ -151,7 +151,7 @@ m_accept(struct Client *client_p, struct Client *source_p,
split_nuh(&nuh);
- if ((accept_p = find_accept(nick, user, host, source_p, 0)) == NULL)
+ if ((accept_p = find_accept(nick, user, host, source_p, irccmp)) == NULL)
{
sendto_one(source_p, form_str(ERR_ACCEPTNOT),
me.name, source_p->name, nick, user, host);
@@ -181,7 +181,7 @@ m_accept(struct Client *client_p, struct Client *source_p,
split_nuh(&nuh);
- if ((accept_p = find_accept(nick, user, host, source_p, 0)) != NULL)
+ if ((accept_p = find_accept(nick, user, host, source_p, irccmp)) != NULL)
{
sendto_one(source_p, form_str(ERR_ACCEPTEXIST),
me.name, source_p->name, nick, user, host);