Permalink
Browse files

minor changes to allowinvite, banredirect and added nonicks

  • Loading branch information...
1 parent 2702bbf commit 1af6d0b8c608e1a616d994bf3e3c960e8d775d73 @bruberg bruberg committed with SaberUK Nov 10, 2012
Showing with 48 additions and 8 deletions.
  1. +5 −6 Modules/allowinvite.md
  2. +2 −2 Modules/banredirect.md
  3. +41 −0 Modules/nonicks.md
View
@@ -24,15 +24,14 @@ This module does not implement any user modes.
Mode | Description
---- | -----------
-A | Set this mode to allow anyone to `/invite` users to your channel
-(not just ops).
+A | Set this mode to allow anyone to `/invite` users to your channel (not just ops).
+
+Example: `/mode #channel +A`
## Extended Bans
Mode | Description
---- | -----------
-["A"] | Extended Ban A:nick!user@host -- Set this on specific users to disallow them from sending /invites to your channel (for example, if the user is abusing /invite).
-
-## Notes
+A | Extended Ban A:nick!user@host -- Set this on specific users to disallow them from sending /invites to your channel (for example, if the user is abusing /invite).
-Insert any long notes or gotchas about this module here.
+Example: `/mode #channel +b A:nick!user@host`
View
@@ -28,14 +28,14 @@ This module does not implement any channel modes.
## Extended Bans
-This module does not implement any extended bans.
+The module does not introduce a new extban mode, but allows suffixing a target channel to the ban hostmask.
## Notes
This supports partial banmask expansion (e.g. `/mode #channel +b Bob` actually applying a banmask of `Bob!*@*`)
like the core does. The behavior should be the same as the core.
-When this module is unloaded it will reset all bans with redirections without the redirection. So on unload
+When this module is unloaded it will reset all bans *with* redirections to bans *without* the redirection. So on unload
you'll see a load of mode changes something like:
`22:04 -!- ServerMode/#channel1 [-b+b *!*@*.mibbit.com#mibbets *!*@*.mibbit.com] by test.server.net`
View
@@ -0,0 +1,41 @@
+---
+title: Modules » m_nonicks
+layout: default
+---
+
+## Description
+
+Provides support for channel mode `+N` and extban `+b N`, which prevents nick changes in a channel.
+
+## Configuration Tags
+
+This module does not require any extra configuration, beyond the `<module>` tag to load it.
+
+## Commands
+
+This module does not implement any commands.
+
+## User Modes
+
+This module does not implement any user modes.
+
+## Channel Modes
+
+Mode | Description
+---- | -----------
+N | Set this mode to disallow any nick changes in the channel.
+
+Example: `/mode #channel +N`
+
+## Extended Bans
+
+Mode | Description
+---- | -----------
+N | Disallows a user (or rather a hostmask) to change his/her nick.
+
+Example: `/mode #channel +b N:nick!user@host`
+
+## Notes
+
+If a user attempts a nick change in a channel where `+N` is set, the user will receive the following message:
+> Can't change nickname while on *#channel* (+N is set)

0 comments on commit 1af6d0b

Please sign in to comment.