Anope IRC Services

Anope Development => Feature Requests => Topic started by: Mark on July 13, 2006, 03:02:52 PM

Title: Only Oper/Service Admin can deop a user?
Post by: Mark 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]
Title:
Post by: FiXato on July 13, 2006, 03:26:09 PM
To disable Sendpass, remove "ns_sendpass" from the NickCoreModules list in your services.conf.
Title:
Post by: Mark 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
Title:
Post by: n00bie 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
Title:
Post by: Mark 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]
Title:
Post by: n00bie 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
Title:
Post by: Mark 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.
Title:
Post by: Mark on July 13, 2006, 08:43:36 PM
Hi

Thank you very very mutch. This modul works great.

Great

Mark
Title:
Post by: n00bie on July 14, 2006, 09:52:04 AM
Your welcome :D
/* Credits to SGR */