ircsnapshot icon indicating copy to clipboard operation
ircsnapshot copied to clipboard

Support for logging idle time

Open ldionmarcil opened this issue 11 years ago • 3 comments

Right now the idle time is stored (if received) in the user's whois reply block, but if the user is on a different leaf server, the client will not be sent the idle time. This is done on most IRC daemons in order to avoid unnecessary traffic between servers. First, we would have to send whois user user instead of whois user in order to tell the IRCd to send us the idle time no matter which server the client and target are on. Also, this raw numeric should be parsed properly and added to the userDetail node.

I am volunteering to implement this if you judge my suggestions to be worthy of addition.

ldionmarcil avatar Feb 01 '14 22:02 ldionmarcil

Sounds good, please do. I'm focusing on removing the SocksiPy dependency, as it is causing an issue with the ssl library.

I have seen in some cases that an IRCd will return two integers instead of one for the idle time. Would be good to watch out for that.

Bwall avatar Feb 01 '14 23:02 Bwall

I'll watch out for that. Have you defined a set of different IRCds to test against?

ldionmarcil avatar Feb 01 '14 23:02 ldionmarcil

Not yet, but I believe that is happening with Unreal. At some point we'll need a testing strategy.

Bwall avatar Feb 01 '14 23:02 Bwall