Channel Modes
InspIRCd supports five types of mode:
| Type | Parameter (set) | Parameter (unset) | Multiple | Description |
| Switch | No | No | No | Toggles a feature on/off |
| Parameter | Yes | No | No | Enables and configures a feature |
| ParamBoth | Yes | Yes | No | Parameter required to set and unset |
| Prefix | Yes (nick) | Yes (nick) | Yes (per member) | Grants/revokes a status rank |
| List | Yes | Yes | Yes | Adds/removes entries from a list |
Core Channel Modes
| Name | Char | Type | Description |
| ban | b | List | Bans users matching a mask from joining |
| inviteonly | i | Switch | Prevents joining without an invite |
| key | k | ParamBoth | Requires a password to join |
| limit | l | Parameter | Maximum number of users |
| moderated | m | Switch | Only voiced/opped users can talk |
| noextmsg | n | Switch | Prevents messages from non-members |
| op | o | Prefix | Grants operator status |
| private | p | Switch | Hides channel in /WHOIS |
| secret | s | Switch | Hides channel in /WHOIS and /LIST |
| topiclock | t | Switch | Only ops can change the topic |
| voice | v | Prefix | Grants voice status |
Example Usage
/MODE #channel +b *!*@example.com (Ban users from example.com)
/MODE #cheese +k cheddar (Set channel key to "cheddar")
/MODE #cheese -k cheddar (Remove channel key)
/MODE #channel +l 100 (Limit to 100 users)
/MODE #channel +o Sadie (Op Sadie)
/MODE #channel +v Sadie (Voice Sadie)
Module Channel Modes
| Name | Char | Module | Description |
| allowinvite | A | allowinvite | Allow unprivileged users to use /INVITE |
| anticaps | B | anticaps | Prevents overly capitalised messages |
| blockcolor | c | blockcolor | Block IRC formatting codes |
| noctcp | C | noctcp | Block CTCP messages |
| delayjoin | D | delayjoin | Hide joins until user speaks |
| delaymsg | d | delaymsg | Delay messages from new joiners |
| banexception | e | banexception | Exempt users from bans |
| repeat | E | repeat | Block repeated messages |
| nickflood | F | nickflood | Limit nick changes |
| flood | f | messageflood | Limit message rate |
| filter | g | chanfilter | Filter words/phrases |
| history | H | chanhistory | Show channel history on join |
| invex | I | inviteexception | Invite exceptions list |
| kicknorejoin | J | kicknorejoin | Prevent kicked users from rejoining |
| joinflood | j | joinflood | Limit join rate |
| noknock | K | knock | Disable /KNOCK |
| redirect | L | redirect | Redirect users when channel is full |
| regmoderated | M | account | Only registered users can talk |
| nonick | N | nonicks | Prevent nick changes in channel |
| nokick | Q | nokicks | Prevent /KICK |
| reginvite | R | account | Only registered users can join |
| stripcolor | S | stripcolor | Strip IRC formatting codes |
| nonotice | T | nonotice | Block /NOTICE |
| opmoderated | U | opmoderated | Non-ops only seen by ops |
| auditorium | u | auditorium | Hide channel members |
| autoop | w | autoop | Auto-set modes on matching users |
| exemptchanops | X | exemptchanops | Exempt ops from restrictions |
| sslonly | z | sslmodes | Only TLS users can join |