X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fopserv.c;h=55640af0704b2b8c6e78c8e9d6e8b85c4f038cd4;hb=a662d25f0b923b0f8cc5edc87bd857e3c22ccbc2;hp=3945216f94fa42bf671d2c096532a7ba27610afa;hpb=afc32e3e8d02de40a38650d8d6f44cc13e17925a;p=srvx.git diff --git a/src/opserv.c b/src/opserv.c index 3945216..55640af 100644 --- a/src/opserv.c +++ b/src/opserv.c @@ -807,7 +807,7 @@ static MODCMD_FUNC(cmd_block) offset = 3; } if(duration && duration != opserv_conf.block_gline_duration) { - // We require more access when the duration is not the default block duration. + /* We require more access when the duration is not the default block duration. */ gline_cmd = dict_find(cmd->parent->commands, "gline", NULL); if(!gline_cmd) { @@ -3318,7 +3318,7 @@ is_oper_victim(struct userNode *user, struct userNode *target, int match_opers, || (target->handle_info && target->handle_info->opserv_level > user->handle_info->opserv_level)); - // If we don't need an ip check or want to hit opers or the the "cheap" check already disqualified the target, we are done. + /* If we don't need an ip check or want to hit opers or the the "cheap" check already disqualified the target, we are done. */ if (!check_ip || match_opers || !is_victim) return is_victim;