Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Channel Modes 4.2.3.1 #26

Open
DitchTurtL opened this issue Oct 27, 2023 · 3 comments
Open

Feature: Channel Modes 4.2.3.1 #26

DitchTurtL opened this issue Oct 27, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@DitchTurtL
Copy link
Collaborator

Channel modes

The MODE command is provided so that channel operators may change the
characteristics of `their' channel. It is also required that servers
be able to change channel modes so that channel operators may be
created.

@DitchTurtL
Copy link
Collaborator Author

The various modes available for channels are as follows:

       o - give/take channel operator privileges;
       p - private channel flag;
       s - secret channel flag;
       i - invite-only channel flag;
       t - topic settable by channel operator only flag;
       n - no messages to channel from clients on the outside;
       m - moderated channel;
       l - set the user limit to channel;
     b - set a ban mask to keep users out;
       v - give/take the ability to speak on a moderated channel;
       k - set a channel key (password).

When using the 'o' and 'b' options, a restriction on a total of three
per mode command has been imposed. That is, any combination of 'o'
and

@DitchTurtL
Copy link
Collaborator Author

MODE #Finnish +im ; Makes #Finnish channel moderated and
'invite-only'.

MODE #Finnish +o Kilroy ; Gives 'chanop' privileges to Kilroy on

                            channel #Finnish.

MODE #Finnish +v Wiz ; Allow WiZ to speak on #Finnish.

MODE #Fins -s ; Removes 'secret' flag from channel
#Fins.

MODE #42 +k oulu ; Set the channel key to "oulu".

MODE #eu-opers +l 10 ; Set the limit for the number of users
on channel to 10.

MODE &oulu +b ; list ban masks set for channel.

MODE &oulu +b !@* ; prevent all users from joining.

MODE &oulu +b !@*.edu ; prevent any user from a hostname
matching *.edu from joining.

@DitchTurtL DitchTurtL added the enhancement New feature or request label Oct 27, 2023
@DitchTurtL
Copy link
Collaborator Author

Data structures updated.

Next steps:

  • Add modes
  • Remove modes
  • Individual mode rules per channel/user (in other commands)

@DitchTurtL DitchTurtL self-assigned this Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant