1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 05:13:13 +02:00

Fixed previous thing again

This commit is contained in:
drbin
2000-09-02 16:03:15 +00:00
parent ea41e25761
commit 377d9554d3
+2 -2
View File
@@ -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 */