Permalink
Browse files

Merge branch 'gh-pages' of github.com:bruberg/wiki into gh-pages

  • Loading branch information...
2 parents 58333aa + f850815 commit f74cab7d695a6e559cc23e001ae505e66900dfa7 @bruberg committed Oct 24, 2012
Showing with 14 additions and 3 deletions.
  1. +14 −3 Modules/banredirect.md
View
@@ -5,11 +5,14 @@ layout: default
## Description
-Allows an extended ban (+b) syntax redirecting banned users to another channel
+Allows an extended ban (`+b`) syntax redirecting banned users to another channel. The extension allows channel bans
+in the format `+b nick!ident@host#channel`, where `#channel` is where a user matching the ban will be redirected to when
+they attempt to join the channel the ban is set on. This doesn't affect normal `nick!ident@host` bans which can
+be set as normal.
## Configuration Tags
-This module does not require any extra configuration, beyond the <module> tag to load it.
+This module does not require any extra configuration, beyond the `<module>` tag to load it.
## Commands
@@ -29,7 +32,15 @@ This module does not implement any extended bans.
## Notes
-Insert any long notes or gotchas about this module here.
+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
+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`
+
+Also, if there are multiple bans matching a user the first one to be set will be the one which is applied.
## Extra Resources

0 comments on commit f74cab7

Please sign in to comment.