fixed cmd_peek
[NeonServV5.git] / src / cmd_neonserv_peek.c
index f71e72539e1e92b2ba0aa86ed1ab905e7bfd6b2c..f32ce6cde4fec8b1b0daf0eb77c3beea2c38558c 100644 (file)
@@ -1,5 +1,5 @@
-/* cmd_neonserv_peek.c - NeonServ v5.2
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* cmd_neonserv_peek.c - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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++;