Add each user's total nick count to the HTML output.

Signed-off-by: Jason Lynch <jason@calindora.com>
Keep track of userhosts during statistics generation.

Signed-off-by: Jason Lynch <jason@calindora.com>
Add the ability to link nicknames based on userhost.

Signed-off-by: Jason Lynch <jason@calindora.com>
Support separating users by nick!user@host rather than just by nick.

Signed-off-by: Jason Lynch <jason@calindora.com>
Ignore short gaps in coverage for maintaining the userhost cache.

The userhost cache is built by examining any join event and tracking nick
changes. Every time the log session ends and a new one starts, we are forced to
clear the entire cache, as there is the possibility of a nick's userhost
changing in that time span. However, this results in a marked increase of
undefined userhosts when trying to link nicknames.

This patch helps mitigate this somewhat by only clearing the cache if the gap in
log coverage was longer than five minutes. The duration is completely arbitrary
and should probably be converted to an option at some point.

Signed-off-by: Jason Lynch <jason@calindora.com>
Add the generation time to the generated HTML.

Signed-off-by: Jason Lynch <jason@calindora.com>
Properly handle priority among time-restricted and unrestricted nicknames.

Signed-off-by: Jason Lynch <jason@calindora.com>