some syntax fixes
[NeonServV5.git] / IRCParser.c
index 39f315040a66076ed8e2caa7de79215f160548f8..c3d9bd54160efbda9e1f01c9d575ab5fb3d753d1 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", 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 : "0"), chanuser->flags);
     }
 }