diff --git a/src/s_user.c b/src/s_user.c index 06f2f1587..fa446d020 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -962,8 +962,8 @@ static int register_user(cptr, sptr, nick, username, umode, virthost) */ if (MyConnect(sptr)) { - if (*sptr->passwd) - if (*sptr->passwd && (nsptr = find_person(NickServ, NULL))) + if (sptr->passwd) + if (sptr->passwd && (nsptr = find_person(NickServ, NULL))) sendto_one(nsptr, ":%s PRIVMSG %s@%s :IDENTIFY %s", sptr->name, NickServ, SERVICES_NAME, sptr->passwd); /* Force the user to join the given chans -- codemastr */