fixed endless loop in cmd_set
authorpk910 <philipp@zoelle1.de>
Fri, 13 Jan 2012 14:32:27 +0000 (15:32 +0100)
committerpk910 <philipp@zoelle1.de>
Fri, 13 Jan 2012 14:32:27 +0000 (15:32 +0100)
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)