Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Only Oper/Service Admin can deop a user?  (Read 8940 times)

0 Members and 1 Guest are viewing this topic.

Mark

  • Guest
Only Oper/Service Admin can deop a user?
« on: July 13, 2006, 03:02:52 PM »

Hi

Can i make it that only the Oper or ServiceAdmisn can drop a nick? I Don't wan't that a user can drop his self.

PS. How can i disable sendpass? Can i only make #RestrictMail in the conf file?

Thank you very mutch for your answere.

Great

Mark

[Edited on 13-7-2006 by Mark]
Logged

FiXato

  • Guest
(No subject)
« Reply #1 on: July 13, 2006, 03:26:09 PM »

To disable Sendpass, remove "ns_sendpass" from the NickCoreModules list in your services.conf.
Logged

Mark

  • Guest
(No subject)
« Reply #2 on: July 13, 2006, 03:57:11 PM »

Hi

Thank you very mutch. So the first problem is done :)
The last question:

Quote

Can i make it that only the Oper or ServiceAdmisn can drop a nick? I Don't wan't that a user can drop his self.


Great

Mark
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #3 on: July 13, 2006, 05:09:15 PM »

take a look at this file : http://www.anope.org/modules/os_rawservicesrootonly.c

make necessary changes according to that :D
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Mark

  • Guest
(No subject)
« Reply #4 on: July 13, 2006, 05:24:50 PM »

Hi

Thank you. But how can i make that drop only by service administrator is?

My english is unfortunately bad.

And an other question: (it's not important but it would be well if it goes) Can i make that only service admins can change the userpassword for other user (For a Bot where i have make for register a nick with a webinterface. so i can change the Password)

PS. does Anope with unreal run with AMD 64bit? The new server has this.

Great

Mark

[Edited on 13-7-2006 by Mark]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #5 on: July 13, 2006, 05:57:25 PM »

hello mark,

by default /nickserv drop [nickname] is defaulted to Services Administrator + above. But, users can still drop their own nickname. If you want to prevent your users from droping their nickname, use this file ns_dropsa.c, i've made an attachment on this message.

And for changing password also, only Services Admin + above can change a users nick password by default. See /nickserv help saset
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Mark

  • Guest
(No subject)
« Reply #6 on: July 13, 2006, 06:07:12 PM »

Hi

Thank you very very mutch. I will test the modul ns_dropsa.c in a few minutes and will report here.

With saset is great thank you.
Logged

Mark

  • Guest
(No subject)
« Reply #7 on: July 13, 2006, 08:43:36 PM »

Hi

Thank you very very mutch. This modul works great.

Great

Mark
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #8 on: July 14, 2006, 09:52:04 AM »

Your welcome :D
/* Credits to SGR */
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.
Pages: [1]   Go Up