Page 1 of 1

[UnrealIRCD 3.2.8.1][Windows] - Disable command nick

Posted: Fri Dec 11, 2009 10:51 pm
by JanCzarny
Hello,

How I can Disable command "/nick" for user , who isn't had authorization by comand "/msg nickserv ID " ?

but user who use "/oper" , should had acces to this cmd

Re: [UnrealIRCD 3.2.8.1][Windows] - Disable command nick

Posted: Sat Dec 12, 2009 1:48 am
by Stealth
I don't see how this would even work without making your services support it. If a user connects to your server with a temporary nick or gets their nick changed by services (Guest*), how are they to change their nick back to their own nick when nickchanges for unregistered users is denied?

What you need to do is get the module m_nonickchange which denies nick changes for EVERYONE, then create a services module where services changes nicknames when someone identifies for a nick. (for example you'd have /ns identify <nick> <password>, and nickserv would change the users nick to <nick> when they provide the proper password.)

Re: [UnrealIRCD 3.2.8.1][Windows] - Disable command nick

Posted: Sat Dec 12, 2009 9:27 pm
by JanCzarny
Right, but my IRC applet is integrated with the webiste, and everyone gets a nickname which is the login name, and wants to prevent them from changing nick, not claimed to be another user.

So I have to write off UnrealIRCd module that blocks all change nickname

And editing module m_nick - had to make sense?
Block all but authorized people by command / oper

then I would have to modify Anope services, and add a module that allows a change nickname

A lot of program code in php, a little in C + +

Is this what I plan will require greater knowledge of C + +?

and what by. you as a person well acquainted with unreal irc, should begin

Re: [UnrealIRCD 3.2.8.1][Windows] - Disable command nick

Posted: Sat Dec 12, 2009 10:42 pm
by Stealth
JanCzarny wrote:So I have to write off UnrealIRCd module that blocks all change nickname
m_nonickchange is designed to deny nick changes to everyone except opers. However, it'll still block nickchanges from users authenticating with NickServ. You will have to write a module for your services so NickServ changes the nick for the user when he/she identifies.

You can get m_nonickchange from here: http://bitbucket.org/stealth/unreal32/r ... ckchange.c