if (huser_get_level(hchanuser->husr) == H_PEON && huserchan->flags & HCUMODE_VOICE)
helpmod_channick_modes(hchanuser->husr, hchan, MC_DEVOICE, HLAZY);
}
-
}
}
int i;
if (argc == 0)
{
- helpmod_reply(sender, returntype, "Can not advance queue: User not specified", hchannel_get_name(hchan));
+ helpmod_reply(sender, returntype, "Can not advance queue: User not specified");
return;
}
if (argc > H_CMD_MAX_ARGS)
{
if (!sscanf(argv[0], "%d", &nnext) || nnext <= 0 || nnext > 25 /* magic number */)
{
- helpmod_reply(sender, returntype, "Can not advance queue: Integer [1, 25] expected", hchannel_get_name(hchan));
+ helpmod_reply(sender, returntype, "Can not advance queue: Integer [1, 25] expected");
return;
}
}
}
if (!sscanf(argv[0], "%d", &tmp) || tmp < 0 || tmp > 25)
{
- helpmod_reply(sender, returntype, "Can not set auto queue: Integer [0, 20] expected", hchannel_get_name(hchan));
+ helpmod_reply(sender, returntype, "Can not set auto queue: Integer [0, 20] expected");
return;
}
hchan->autoqueue = tmp;