diff --git a/helpmod2/hcommands.c b/helpmod2/hcommands.c index 57b9e9a3..f5b879f8 100644 --- a/helpmod2/hcommands.c +++ b/helpmod2/hcommands.c @@ -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"); diff --git a/helpmod2/helpmod2.c b/helpmod2/helpmod2.c index a383d6ba..22ddfcf6 100644 --- a/helpmod2/helpmod2.c +++ b/helpmod2/helpmod2.c @@ -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); @@ -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);