]> jfr.im git - solanum.git/blobdiff - src/whowas.c
Show the services login name in WHOWAS.
[solanum.git] / src / whowas.c
index 9d910a01da7e1d09947c603d793d5955962b38b8..41dc9950ec67fc9ad207610c4991beb5129e87e2 100644 (file)
@@ -81,6 +81,7 @@ void add_history(struct Client *client_p, int online)
        strcpy(who->username, client_p->username);
        strcpy(who->hostname, client_p->host);
        strcpy(who->realname, client_p->info);
+       strcpy(who->suser, client_p->user->suser);
        if (!EmptyString(client_p->sockhost) && strcmp(client_p->sockhost, "0") && show_ip(NULL, client_p))
                strcpy(who->sockhost, client_p->sockhost);
        else