X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_join.c;h=26d9c2deb04f6caec3836e6daf409bc9d4a09bb1;hb=f3e9ec2fae92670731ddfa83ef46247553c3dfce;hp=33d857fa9ad67a18893e54539522b235baea8cfa;hpb=249e8affce9be87c42baee9571bfb01756159242;p=ircu2.10.12-pk.git diff --git a/ircd/m_join.c b/ircd/m_join.c index 33d857f..26d9c2d 100644 --- a/ircd/m_join.c +++ b/ircd/m_join.c @@ -239,7 +239,17 @@ int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) /* Is there some reason the user may not join? */ if (err) { - send_reply(sptr, err, chptr->chname); + switch(err) { + case ERR_NEEDREGGEDNICK: + send_reply(sptr, + ERR_NEEDREGGEDNICK, + chptr->chname, + feature_str(FEAT_URLREG)); + break; + default: + send_reply(sptr, err, chptr->chname); + break; + } continue; }