Skip to content

MODE #11

@Han2-Ro

Description

@Han2-Ro

4.2.3 Mode message

Command: MODE

The MODE command is a dual-purpose command in IRC. It allows both
usernames and channels to have their mode changed. The rationale for
this choice is that one day nicknames will be obsolete and the
equivalent property will be the channel.

When parsing MODE messages, it is recommended that the entire message
be parsed first and then the changes which resulted then passed on.

4.2.3.1 Channel modes

Parameters: <channel> {[+|-]|o|i|t|v} [<limit>] [<user>] [<ban mask>]

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.

The various modes available for channels are as follows:

       o - give/take channel operator privileges;
       i - invite-only channel flag;
       t - topic settable by channel operator only flag;
       l - set the user limit to 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions