projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed endless loop in cmd_set
[NeonServV5.git]
/
src
/
cmd_neonserv_set.c
diff --git
a/src/cmd_neonserv_set.c
b/src/cmd_neonserv_set.c
index 2b3ddab2f868ff5b19f2a5fdde69cfc164666149..ec21e44c6ef6113a06a08b3114be3b30793e1650 100644
(file)
--- a/
src/cmd_neonserv_set.c
+++ b/
src/cmd_neonserv_set.c
@@
-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++;
while(channel_settings[i].setting) {
if((channel_settings[i].valid & NS_VALID_IF_HALFOP) && !with_halfops) {
j++;
+ i++;
continue;
}
if(channel_settings[i].chanfield)
continue;
}
if(channel_settings[i].chanfield)