diff --git a/extensions/sno_farconnect.c b/extensions/sno_farconnect.c index 78780658..89a8f045 100644 --- a/extensions/sno_farconnect.c +++ b/extensions/sno_farconnect.c @@ -57,10 +57,11 @@ h_gcn_new_remote_user(struct Client *source_p) if (!HasSentEob(source_p->servptr)) return; sendto_realops_snomask_from(snomask_modes['F'], L_ALL, source_p->servptr, - "Client connecting: %s (%s@%s) [%s] {%s} [%s]", + "Client connecting: %s (%s@%s) [%s] {%s} <%s> [%s]", source_p->name, source_p->username, source_p->orighost, show_ip(NULL, source_p) ? source_p->sockhost : "255.255.255.255", - "?", source_p->info); + "?", *source_p->user->suser ? source_p->user->suser : "*", + source_p->info); } static void diff --git a/ircd/s_user.c b/ircd/s_user.c index b2c75bc7..3184eba4 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -613,18 +613,21 @@ register_local_user(struct Client *client_p, struct Client *source_p) rb_inet_ntop_sock((struct sockaddr *)&source_p->localClient->ip, ipaddr, sizeof(ipaddr)); sendto_realops_snomask(SNO_CCONN, L_ALL, - "Client connecting: %s (%s@%s) [%s] {%s} [%s]", + "Client connecting: %s (%s@%s) [%s] {%s} <%s> [%s]", source_p->name, source_p->username, source_p->orighost, show_ip(NULL, source_p) ? ipaddr : "255.255.255.255", - get_client_class(source_p), source_p->info); + get_client_class(source_p), + *source_p->user->suser ? source_p->user->suser : "*", + source_p->info); sendto_realops_snomask(SNO_CCONNEXT, L_ALL, - "CLICONN %s %s %s %s %s %s 0 %s", + "CLICONN %s %s %s %s %s %s 0 %s %s", source_p->name, source_p->username, source_p->orighost, show_ip(NULL, source_p) ? ipaddr : "255.255.255.255", get_client_class(source_p), /* mirc can sometimes send ips here */ show_ip(NULL, source_p) ? source_p->localClient->fullcaps : " ", + *source_p->user->suser ? source_p->user->suser : "*", source_p->info); add_to_hostname_hash(source_p->orighost, source_p);