From e3ecfb708fa6f868fd15a34ac74cad17082c9e7a Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 8 Jan 2010 02:52:44 +0100 Subject: Implemented monolog counters. --- export_xml.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'export_xml.c') diff --git a/export_xml.c b/export_xml.c index f7509c3..1bacc5c 100644 --- a/export_xml.c +++ b/export_xml.c @@ -53,6 +53,10 @@ int export_xml(struct channel_t *channel, struct user_t *users) { xmlNewChild(user_node, NULL, "kicks", s); snprintf(s, 0xf, "%d", user->kicked); xmlNewChild(user_node, NULL, "kicked", s); + snprintf(s, 0xf, "%d", user->monolog_lines); + xmlNewChild(user_node, NULL, "monolog_lines", s); + snprintf(s, 0xf, "%d", user->monologs); + xmlNewChild(user_node, NULL, "monologs", s); /* Add lines for this user. */ xmlNodePtr lines_node = xmlNewChild(user_node, NULL, "lines", NULL); -- cgit v1.2.3