fixed test output to see if it really detects if a user is authed or not
authorpk910 <philipp@zoelle1.de>
Thu, 11 Aug 2011 20:26:03 +0000 (22:26 +0200)
committerpk910 <philipp@zoelle1.de>
Thu, 11 Aug 2011 20:26:03 +0000 (22:26 +0200)
IRCParser.c

index c3d9bd54160efbda9e1f01c9d575ab5fb3d753d1..de03a7380c2863eeda871310ce90b2d38b321e05 100644 (file)
@@ -87,7 +87,7 @@ static USERLIST_CALLBACK(got_channel_userlist) {
     putsock(client, "PRIVMSG %s :[BOT JOIN] Users on this Channel:", chan->name);
     struct ChanUser *chanuser;
     for(chanuser = getChannelUsers(chan, NULL); chanuser; chanuser = getChannelUsers(chan, chanuser)) {
-        putsock(client, "PRIVMSG %s :  %s!%s@%s [%s]  rights: %d", chan->name, chanuser->user->nick, chanuser->user->ident, chanuser->user->host, ((chanuser->user->flags & USERFLAG_ISAUTHED) ? chanuser->user->auth : "0"), chanuser->flags);
+        putsock(client, "PRIVMSG %s :  %s!%s@%s [%s]  rights: %d", chan->name, chanuser->user->nick, chanuser->user->ident, chanuser->user->host, ((chanuser->user->flags & USERFLAG_ISAUTHED) ? chanuser->user->auth : "*"), chanuser->flags);
     }
 }