]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Add the IP address to userlog, as in ratbox3.
authorJilles Tjoelker <redacted>
Fri, 31 Oct 2008 09:57:51 +0000 (10:57 +0100)
committerJilles Tjoelker <redacted>
Fri, 31 Oct 2008 09:57:51 +0000 (10:57 +0100)
src/client.c

index 0f717bc779474a1d8ae7786934deee78229581c9..7573a6f8f2f0ae29f5fc5379848c5f7f6259867e 100644 (file)
@@ -1484,10 +1484,11 @@ exit_local_client(struct Client *client_p, struct Client *source_p, struct Clien
 
        on_for = rb_current_time() - source_p->localClient->firsttime;
 
-       ilog(L_USER, "%s (%3lu:%02lu:%02lu): %s!%s@%s %d/%d",
+       ilog(L_USER, "%s (%3lu:%02lu:%02lu): %s!%s@%s %s %d/%d",
                rb_ctime(rb_current_time(), tbuf, sizeof(tbuf)), on_for / 3600,
                (on_for % 3600) / 60, on_for % 60,
                source_p->name, source_p->username, source_p->host,
+               source_p->sockhost,
                source_p->localClient->sendK, source_p->localClient->receiveK);
 
        sendto_one(source_p, "ERROR :Closing Link: %s (%s)", source_p->host, comment);