[IRCServices Coding] Disable getpass

Craig McLure Craig at frostycoolslug.com
Thu Jun 26 08:32:49 PDT 2008


in modules/chanserv/main.c, find:

    { "GETPASS",  do_getpass,  is_services_admin,  -1,
                -1, CHAN_OPER_HELP_GETPASS },

and change is_services_admin to is_services_root and do the same in
module/nickserv/main.c

Should do it for you, (Someone correct me if i'm wrong, it's been a while ;)).

2008/6/26  <phil1974 at taylorassociate.com>:
> Is there any way to change the getpass so only the service root can use that
> command? I do not know how to read c code.
>
> Thanks
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://lists.ircservices.za.net/mailman/listinfo/ircservices-coding
>



-- 
/**********************************************
 * Craig "FrostyCoolSlug" McLure
 * ChatSpike - http://www.chatspike.net
 * InspIRCd - http://www.inspircd.org
 **********************************************/