* src/nickserv.c (cmd_handleinfo): Use IsStaff() rather than IsSupport().
* src/opserv.c (cmd_block): Use C style comment, not C++ style.
(is_oper_victim): Likewise.
- if (oper_has_access(user, cmd->parent->bot, 0, 1) || IsSupport(user)) {
+ if (oper_has_access(user, cmd->parent->bot, 0, 1) || IsStaff(user)) {
if (!hi->notes) {
reply("NSMSG_HANDLEINFO_NO_NOTES");
} else {
if (!hi->notes) {
reply("NSMSG_HANDLEINFO_NO_NOTES");
} else {
offset = 3;
}
if(duration && duration != opserv_conf.block_gline_duration) {
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)
{
gline_cmd = dict_find(cmd->parent->commands, "gline", NULL);
if(!gline_cmd)
{
|| (target->handle_info
&& target->handle_info->opserv_level > user->handle_info->opserv_level));
|| (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;
if (!check_ip || match_opers || !is_victim)
return is_victim;