summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-09-11 15:03:17 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-09-11 15:03:17 +0200
commit41def8b92ca132560133149e4acbd9544b362be1 (patch)
treecfd9993dd0af5a707e516fd5914feb29c9da276e
parentad044e229af5e523699a977e7c0393d42695586e (diff)
parent78d37f490afd32c3eb6dcdb7375af98aee2f0d1f (diff)
Merge branch 'master' into time_fixestime_fixes
-rw-r--r--export_xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/export_xml.c b/export_xml.c
index 91f5af0..1f851d0 100644
--- a/export_xml.c
+++ b/export_xml.c
@@ -44,8 +44,8 @@ int export_xml(struct channel_t *channel, struct user_t *users) {
struct user_t *user = &users[u];
/* Iterate while we have a user (nick is non-NULL). */
while(user && user->nick) {
- /* Skip <NULL> (filtered nicks eg. bots). */
- if(strcmp(user->nick, "<NULL>") == 0) {
+ /* Skip mapped nicks and <NULL> (filtered nicks eg. bots). */
+ if(user->real_user != NULL || strcmp(user->nick, "<NULL>") == 0) {
user = user->next;
continue;
}