diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-09-11 15:03:17 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-09-11 15:03:17 +0200 |
commit | 41def8b92ca132560133149e4acbd9544b362be1 (patch) | |
tree | cfd9993dd0af5a707e516fd5914feb29c9da276e /export_xml.c | |
parent | ad044e229af5e523699a977e7c0393d42695586e (diff) | |
parent | 78d37f490afd32c3eb6dcdb7375af98aee2f0d1f (diff) |
Merge branch 'master' into time_fixestime_fixes
Diffstat (limited to 'export_xml.c')
-rw-r--r-- | export_xml.c | 4 |
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; } |