}}
-static void
-stats_events (struct Client *source_p)
-{
- show_events (source_p);
+static void\r
+stats_events_cb(char *str, void *ptr)\r
+{\r
+ sendto_one_numeric(ptr, RPL_STATSDEBUG, "E :%s", str);\r
+}\r
+\r
+static void\r
+stats_events (struct Client *source_p)\r
+{\r
+ rb_dump_events(stats_events_cb, source_p);\r
+ send_pop_queue(source_p);\r
}
/* stats_pending_glines()
target_p->name,
(target_p->serv->by[0] ? target_p->serv->by : "Remote."),
(int) (CurrentTime - target_p->localClient->lasttime),
- (int) linebuf_len (&target_p->localClient->buf_sendq),
+ (int) rb_linebuf_len (&target_p->localClient->buf_sendq),
days, (days == 1) ? "" : "s", hours, minutes,
(int) seconds);
}