if (event.count != 0)
{
// BUG: the 0 in "time since idle 0 seconds" does not get printed
.put(sink, " {", event.count, '}');
}
if (event.altcount != 0)
{
// As above
.put(sink, " {", event.altcount, '}');
}
Similarly in function formatMessageColoured.
The only way around it is to change IRCEvent's count and altcount members to have default values that realistically never occur naturally, such as int.min. This would require tagging a new minor release of dialect however.
In plugins/printer/formatting.d, function
formatMessageMonochrome
:Similarly in function
formatMessageColoured
.The only way around it is to change
IRCEvent
'scount
andaltcount
members to have default values that realistically never occur naturally, such asint.min
. This would require tagging a new minor release ofdialect
however.