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:
+2
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user