Only allow messages from registered user

If you have trouble on your server with spam, drones/zombies/bots or proxies

Moderator: Supporters

Post Reply
IOCorp
Posts: 2
Joined: Tue Jan 24, 2023 12:36 am

Only allow messages from registered user

Post by IOCorp »

I hope I explain well...
It would be of great help if a user whose nick is registered enters the server, he cannot write in any room or private room until he identifies himself.
since on my server, they use registered nicks of other users and bother posing as other people and leave before the services change their nick.
Hopefully something can be done.
Thank you very much.
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Registered user

Post by CrazyCat »

IOCorp
Posts: 2
Joined: Tue Jan 24, 2023 12:36 am

Re: Registered user

Post by IOCorp »

CrazyCat wrote: Tue Jan 24, 2023 1:16 pm Use a security-group
Could you tell me how please?.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Registered user

Post by Syzop »

(I know, old topic, was just going through it)

A more common question is to limit only private messages to registered users, while still allowing channel messages. This is explained in "Disable private message" in the new Security guide.

For disallowing messages in channels from unregistered users there is normally channel mode +M which you set on individual channels.

If you would really want to disallow that for EVERY channel then set::restrict-commands can help with that.
This example would disable both private and public messages from unregistered users:

Code: Select all

set {
    restrict-commands {
        private-message {
            except { identified yes; }
        }
        private-notice {
            except { identified yes; }
        }
        channel-message {
            except { identified yes; }
        }
        channel-notice {
            except { identified yes; }
        }
    }
}
Post Reply