+ } else if(modes[i] == 'h' && with_halfops && !(add && isBot(cuser))) {
+ if(uaccess < db_canhalfop) {
+ reply(textclient, user, "NS_MODE_ENFOPS", chan->name);
+ db_canhalfop = -1;
+ if(uaccess < db_gethalfop)
+ deop_user = 1;
+ }
+ if(db_canhalfop == -1 && caccess < db_gethalfop) {
+ if(!neonserv_cmd_mode_botwar_detect(client, user, chan))
+ modeBufferSet(modeBuf, !add, modes[i], carg);
+ break;
+ }
+ } else if(modes[i] == 'v' && !(add && isBot(cuser))) {