Fix crash upon recieving SVSJOIN for remote user.
This commit is contained in:
parent
43c957b5ec
commit
ca328a798f
|
@ -113,6 +113,9 @@ me_svsjoin(struct Client *client_p, struct Client *source_p, int parc, const cha
|
|||
if((target_p = find_person(parv[1])) == NULL)
|
||||
return 0;
|
||||
|
||||
if(!MyClient(target_p))
|
||||
return 0;
|
||||
|
||||
user_join(&me, target_p, parv[2], NULL);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue