fixed cmd_peek
[NeonServV5.git] / src / cmd_neonserv_peek.c
index 7ab8b17a340bc465c3d7e8009df12a04536329fb..f32ce6cde4fec8b1b0daf0eb77c3beea2c38558c 100644 (file)
@@ -59,7 +59,7 @@ static void neonserv_cmd_peek_async1(struct ClientSocket *client, struct ClientS
             op_count++;
         else if(chanuser->flags & CHANUSERFLAG_VOICED)
             voice_count++;
-        else if(chanuser->flags & CHANUSERFLAG_VOICED)
+        else if(chanuser->flags & CHANUSERFLAG_INVISIBLE)
             invi_count++;
         else
             normal_count++;