Author Topic: oper  (Read 14949 times)

Offline TheKing

  • First timer
  • *
  • Posts: 5
    • View Profile
oper
« on: March 04, 2010, 02:04:01 am »
hi all, is anyone known how to set the oper. before they oper they have to identify there oper nickname fist then /oper
if they use the diffrence nickname not a oper nick to use the /oper CM will get refuse or somthing
can anyone help me plzz   thanks

Offline will

  • Administrator
  • ********
  • Posts: 136
    • View Profile
    • Kassah.NET
Re: oper
« Reply #1 on: March 06, 2010, 06:00:14 pm »
To my knowledge, this isn't possible. You really don't want this for server operators. As if services splits, this cuts them off at the knees and makes it impossible to control the reconnection of services and/or other servers. Also the time of greatest need for opers is generally in the absence of services.

Offline ShadowMaster

  • Chief Codemonkey
  • Administrator
  • ********
  • Posts: 3136
    • View Profile
    • http://www.shadow-realm.org/
Re: oper
« Reply #2 on: March 09, 2010, 09:56:56 pm »
This is actually possible, but it is something best managed by services.

This is already a feature I have seen in one services package where in opers not on the services oper list will have their mode +o removed, and with it their priviledges. At the same time, if services are down, oper works as normal.
Search before posting - No support by PM or IM

Offline TheKing

  • First timer
  • *
  • Posts: 5
    • View Profile
Re: oper
« Reply #3 on: March 12, 2010, 10:02:18 am »
Yes bro ShadowMaster, i also saw, but it did not provide for UltimateIRCd,

I have seen a few network they do the following things:

oper must use realnickname added in ircd.conf, to oper up, if use a different nick, to oper by oper nick, password added in ircd.conf, they can't oper up,

 I also know they have changed some code in m_oper, I changed and tried many times, but it did not work.

Bro can show me how to do this?

thanks a lot bro !


Offline Repdientu

  • First timer
  • *
  • Posts: 3
    • View Profile
Re: oper
« Reply #4 on: September 29, 2010, 09:53:19 am »
It is simple

Open s_user.c find m_oper.
find
Code: [Select]
if (!IsServer (client_p) && (BadPtr (name) || BadPtr (password)))
  {
    sendto_one (source_p, err_str (ERR_NEEDMOREPARAMS),
                me.name, parv[0], "OPER");
    return 0;
  }
after add
Code: [Select]
if (!IsARegNick (source_p))
  {
   sendto_one (source_p, ":%s NOTICE %s: You have to identify with NickServ before make OPER", me.name, parv[0], parv[1]);
   return 0;
}

 

anything