Skip to content

Commit

Permalink
HELPMOD2: disable feds ticketing
Browse files Browse the repository at this point in the history
  • Loading branch information
meeb committed Oct 20, 2018
1 parent b7c20f5 commit af20477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion helpmod2/hcommands.c
Expand Up @@ -3743,10 +3743,11 @@ void hcommands_add(void)
hcommand_add("devoice", H_TRIAL, helpmod_cmd_devoice, "Sets mode -v on channels");

hcommand_add("invite", H_PEON, helpmod_cmd_invite, "Invites you to a channel");
/* disabled ticketing - meeb 2017-03-22
hcommand_add("ticket", H_TRIAL, helpmod_cmd_ticket, "Gives a ticket to be used with invite");
hcommand_add("resolve", H_STAFF, helpmod_cmd_resolve, "Resolves (deletes) a ticket");
hcommand_add("tickets", H_STAFF, helpmod_cmd_tickets, "Lists all valid tickets for a channel");
hcommand_add("showticket", H_STAFF, helpmod_cmd_showticket, "Shows the ticket for the user");
hcommand_add("showticket", H_STAFF, helpmod_cmd_showticket, "Shows the ticket for the user"); */

hcommand_add("termstats", H_OPER, helpmod_cmd_termstats, "Lists usage statistics for terms");
hcommand_add("checkchannel", H_STAFF, helpmod_cmd_checkchannel, "Shows channel information for any channel");
Expand Down
6 changes: 4 additions & 2 deletions helpmod2/helpmod2.c
Expand Up @@ -426,7 +426,8 @@ void _init()
schedulerecurring(time(NULL)+1,0,HDEF_h,(ScheduleCallback)&huser_clear_inactives,NULL);
schedulerecurring(time(NULL)+1,0,HDEF_d,(ScheduleCallback)&haccount_clear_inactives,NULL);
schedulerecurring(time(NULL)+1,0,HDEF_m,(ScheduleCallback)&hban_remove_expired,NULL);
schedulerecurring(time(NULL)+1,0,30 * HDEF_s, (ScheduleCallback)&hchannel_remove_inactive_users, NULL);
/* disable idle kick - meeb 2017-03-22
schedulerecurring(time(NULL)+1,0,30 * HDEF_s, (ScheduleCallback)&hchannel_remove_inactive_users, NULL); */
schedulerecurring(time(NULL)+1,0,60 * HDEF_m,(ScheduleCallback)&hchannel_report, NULL);
schedulerecurring(time(NULL) + HDEF_h, 0, 6 * HDEF_h, (ScheduleCallback)&helpmod_config_scheduled_events, NULL);
schedulerecurring(time(NULL)+1,0,10 * HDEF_m, (ScheduleCallback)&hticket_remove_expired, NULL);
Expand All @@ -449,7 +450,8 @@ void _fini()
deleteallschedules((ScheduleCallback)&huser_clear_inactives);
deleteallschedules((ScheduleCallback)&haccount_clear_inactives);
deleteallschedules((ScheduleCallback)&hban_remove_expired);
deleteallschedules((ScheduleCallback)&hchannel_remove_inactive_users);
/* disable idle kick - meeb 2017-03-22
deleteallschedules((ScheduleCallback)&hchannel_remove_inactive_users); */
deleteallschedules((ScheduleCallback)&hchannel_report);
deleteallschedules((ScheduleCallback)&helpmod_config_scheduled_events);
deleteallschedules((ScheduleCallback)&hstat_scheduler);
Expand Down

0 comments on commit af20477

Please sign in to comment.