]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_join.c
Automated merge with ssh://taros@hg.atheme.org//hg/unofficial/shadowircd
[irc/rqf/shadowircd.git] / modules / core / m_join.c
index ad1b872ffcb2487ee3c4db33579ff56f1b18be25..67360befe0d70f87e94143a0cb93d42ae62ba61f 100644 (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;
 }