diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-27 19:00:54 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-10-27 19:02:44 +0200 |
commit | 78d37f490afd32c3eb6dcdb7375af98aee2f0d1f (patch) | |
tree | 11a4d7aa5561ad3fd23a70f7b5a038026c7ec271 /export_xml.c | |
parent | a1039148b6e06df5af790846087b7837c60a88b9 (diff) |
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 1bed18b..212b463 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; } |