Fix crash upon recieving SVSJOIN for remote user.

This commit is contained in:
B.Greenham 2010-08-30 18:25:40 -04:00
parent 43c957b5ec
commit ca328a798f
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}