summaryrefslogtreecommitdiff
path: root/export_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'export_xml.c')
-rw-r--r--export_xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/export_xml.c b/export_xml.c
index f38a803..db1d592 100644
--- a/export_xml.c
+++ b/export_xml.c
@@ -47,6 +47,8 @@ int export_xml(struct channel_t *channel, struct user_t *users) {
xmlNewChild(user_node, NULL, "nick", user->nick);
snprintf(s, 0xf, "%d", user->words);
xmlNewChild(user_node, NULL, "words", s);
+ snprintf(s, 0xf, "%d", user->characters);
+ xmlNewChild(user_node, NULL, "characters", s);
/* Add lines for this user. */
xmlNodePtr lines_node = xmlNewChild(user_node, NULL, "lines", NULL);