changeset 2272:65d9093525ca

mod_block_registrations/README: Correct name of option (thanks Milan*)
author Kim Alvefur <zash@zash.se>
date Sat, 13 Aug 2016 18:19:17 +0200 (2016-08-13)
parents b34f4591366a
children 677fc0203da0
files mod_block_registrations/README.markdown
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_block_registrations/README.markdown	Sat Aug 13 16:23:25 2016 +0200
+++ b/mod_block_registrations/README.markdown	Sat Aug 13 18:19:17 2016 +0200
@@ -23,7 +23,7 @@
   -------------------------------- --------------- -------------------------------------------------------------------------------------------------------------------------------------------------
   block\_registrations\_users      `{ "admin" }`   A list of reserved usernames
   block\_registrations\_matching   `{ }`           A list of [Lua patterns](http://www.lua.org/manual/5.1/manual.html#5.4.1) matching reserved usernames (slower than block\_registrations\_users)
-  block\_registrations\_allow      `nil`           A pattern that registered user accounts MUST match to be allowed
+  block\_registrations\_require    `nil`           A pattern that registered user accounts MUST match to be allowed
 
 Some examples:
 
@@ -31,7 +31,7 @@
     block_registrations_matching = {
       "master$" -- matches anything ending with master: postmaster, hostmaster, webmaster, etc.
     }
-    block_registrations_allow = "^[a-zA-Z0-9_-.]$" -- Allow only simple ASCII characters in usernames
+    block_registrations_require = "^[a-zA-Z0-9_-.]+$" -- Allow only simple ASCII characters in usernames
 
 Compatibility
 =============