Made overriding join send snotes.

This commit is contained in:
JD Horelick 2010-03-05 19:32:17 -05:00
parent a039358ed0
commit a8afd89db2
1 changed files with 5 additions and 0 deletions

View File

@ -835,7 +835,12 @@ can_join(struct Client *source_p, struct Channel *chptr, char *key)
s_assert(source_p->localClient != NULL);
if(IsOverride(source_p))
{
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"%s is overriding JOIN to [%s]",
get_oper_name(source_p), chptr->chname);
return 0;
}
rb_sprintf(src_host, "%s!%s@%s", source_p->name, source_p->username, source_p->host);
rb_sprintf(src_iphost, "%s!%s@%s", source_p->name, source_p->username, source_p->sockhost);