From 80e1c3c52acdb2971e3a67aa1ef5a076fdf78248 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 22 Jun 2014 21:49:13 +0000 Subject: - m_dline.c:mo_dline(): don't require an address to be prepended with *@ git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@4048 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_dline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/m_dline.c b/modules/m_dline.c index 5667d44..6f69b6c 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -395,7 +395,7 @@ static int mo_undline(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - char *addr = NULL, *user = NULL; + char *addr = NULL; char *target_server = NULL; if (!HasOFlag(source_p, OPER_FLAG_UNDLINE)) @@ -412,8 +412,8 @@ mo_undline(struct Client *client_p, struct Client *source_p, return 0; } - if (parse_aline("UNDLINE", source_p, parc, parv, 0, &user, - &addr, NULL, &target_server, NULL) < 0) + if (parse_aline("UNDLINE", source_p, parc, parv, 0, &addr, + NULL, NULL, &target_server, NULL) < 0) return 0; if (target_server != NULL) -- cgit