summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-19 10:40:26 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-19 10:40:26 +0000
commit8ad3198a9947c7fe3ba5d3debfad24b77f027141 (patch)
treee5e5d1dc1d5dfcbb7dbd4b8c055824fb2061d169 /src
parente0b9880dc9b8c086fd4d5cbbc4f071dc51f9531a (diff)
- hostmask.c:find_conf_by_address(): removed pointless password = "" assignment.
match_conf_password() already deals with NULL pointers git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3006 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src')
-rw-r--r--src/hostmask.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/hostmask.c b/src/hostmask.c
index 9e1e70d..5c34013 100644
--- a/src/hostmask.c
+++ b/src/hostmask.c
@@ -464,9 +464,6 @@ find_conf_by_address(const char *name, struct irc_ssaddr *addr, unsigned int typ
int b;
int (*cmpfunc)(const char *, const char *) = do_match ? match : irccmp;
- if (password == NULL)
- password = "";
-
if (addr)
{
/* Check for IPV6 matches... */