ircsnapshot
ircsnapshot copied to clipboard
Support for logging idle time
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.
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.
I'll watch out for that. Have you defined a set of different IRCds to test against?
Not yet, but I believe that is happening with Unreal. At some point we'll need a testing strategy.