X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/9af95c3da2d2d6b0bc992d4373939864ec3e18b5..3898f97325dbed800d4b424e68a0c2858b8d8be7:/helpmod2/hqueue.c?ds=sidebyside diff --git a/helpmod2/hqueue.c b/helpmod2/hqueue.c index 82d971c1..8eb74d65 100644 --- a/helpmod2/hqueue.c +++ b/helpmod2/hqueue.c @@ -151,7 +151,7 @@ void hqueue_advance(hchannel *hchan, huser *oper, int nadv) if ((hchan->flags & H_QUEUE_SPAMMY) && (oper != NULL)) { - helpmod_reply(hchanuser->husr, hchan->real_channel, "It is now your time to state your problem. Please do so on channel %s and direct your questions to %s %s", hlevel_title(huser_get_level(oper)), hchannel_get_name(hchan), huser_get_nick(oper)); + helpmod_reply(hchanuser->husr, hchan->real_channel, "It is now your time to state your problem. Please do so on channel %s and direct your questions to %s %s", hchannel_get_name(hchan), hlevel_title(huser_get_level(oper)), huser_get_nick(oper)); if (!(huser_get_account_flags(oper) & H_NOSPAM)) helpmod_reply(oper, hchan->real_channel, "User %s (%s@%s) is yours, he has been in queue for %s", huser_get_nick(hchanuser->husr), huser_get_ident(hchanuser->husr), huser_get_host(hchanuser->husr), helpmod_strtime(time(NULL) - hchanuser->time_joined)); } @@ -210,7 +210,6 @@ void helpmod_queue_handler (huser *sender, channel* returntype, hchannel *hchan, if (huser_get_level(hchanuser->husr) == H_PEON && huserchan->flags & HCUMODE_VOICE) helpmod_channick_modes(hchanuser->husr, hchan, MC_DEVOICE, HLAZY); } - } } @@ -229,7 +228,7 @@ void helpmod_queue_handler (huser *sender, channel* returntype, hchannel *hchan, 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) @@ -256,7 +255,7 @@ void helpmod_queue_handler (huser *sender, channel* returntype, hchannel *hchan, { 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; } } @@ -273,7 +272,7 @@ void helpmod_queue_handler (huser *sender, channel* returntype, hchannel *hchan, } 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;