summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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);