Add EventHandler version of stats plugin

This commit is contained in:
Tim Wojtulewicz 2022-11-10 11:20:07 -07:00
parent 194960eafa
commit 3a963f080e
3 changed files with 30 additions and 0 deletions

View file

@ -52,6 +52,8 @@ void EventHandler::SetFunc(FuncPtr f)
void EventHandler::Call(Args* vl, bool no_remote)
{
call_count++;
if ( new_event )
NewEvent(vl);