author | Kim Alvefur <zash@zash.se> |
Tue, 05 May 2015 15:31:11 +0200 | |
changeset 1701 | 27aa58ed3e2e |
parent 1700 | efc1d674eac0 |
child 1702 | 55bc42c1d8c5 |
--- a/mod_block_registrations/mod_block_registrations.lua Tue May 05 14:21:13 2015 +0100 +++ b/mod_block_registrations/mod_block_registrations.lua Tue May 05 15:31:11 2015 +0200 @@ -10,7 +10,7 @@ if block_users:contains(username) then return true; end for pattern in block_patterns do - if username:match(pattern) then + if username:find(pattern) then return true; end end