-/* SET IDLETIME */
-static void
-quote_idletime(struct Client *source_p, int newval)
-{
- if(newval >= 0)
- {
- if(newval == 0)
- {
- sendto_realops_snomask(SNO_GENERAL, L_ALL,
- "%s has disabled idletime checking", source_p->name);
- GlobalSetOptions.idletime = 0;
- }
- else
- {
- sendto_realops_snomask(SNO_GENERAL, L_ALL,
- "%s has changed IDLETIME to %i",
- source_p->name, newval);
- GlobalSetOptions.idletime = (newval * 60);
- }
- }
- else
- {
- sendto_one_notice(source_p, ":IDLETIME is currently %i",
- GlobalSetOptions.idletime / 60);
- }
-}
-