fixed endless loop in cmd_set
[NeonServV5.git] / src / cmd_neonserv_set.c
index 2b3ddab2f868ff5b19f2a5fdde69cfc164666149..ec21e44c6ef6113a06a08b3114be3b30793e1650 100644 (file)
@@ -160,6 +160,7 @@ CMD_BIND(neonserv_cmd_set) {
         while(channel_settings[i].setting) {
             if((channel_settings[i].valid & NS_VALID_IF_HALFOP) && !with_halfops) {
                 j++;
+                i++;
                 continue;
             }
             if(channel_settings[i].chanfield)