diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-08 02:52:44 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-01-08 02:52:44 +0100 |
commit | e3ecfb708fa6f868fd15a34ac74cad17082c9e7a (patch) | |
tree | 02af333ef9253d1798fa0ded145b430d8ac42f30 /export_xml.c | |
parent | 3f0b80bb129aedd41ee09dccf45c532caf28a854 (diff) |
Implemented monolog counters.
Diffstat (limited to 'export_xml.c')
-rw-r--r-- | export_xml.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |