fixed cmd_peek
authorpk910 <philipp@zoelle1.de>
Sun, 8 Jan 2012 23:44:26 +0000 (00:44 +0100)
committerpk910 <philipp@zoelle1.de>
Sun, 8 Jan 2012 23:44:26 +0000 (00:44 +0100)
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++;