mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Fix regexp matching
This commit is contained in:
parent
104c4093dc
commit
061c754c68
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ check_create_room(ServerHost, Host, Room, From) ->
|
|||
case mod_muc_opt:max_room_id(ServerHost) of
|
||||
Max when byte_size(Room) =< Max ->
|
||||
Regexp = mod_muc_opt:regexp_room_id(ServerHost),
|
||||
case re:run(Room, Regexp, [unicode, {capture, none}]) of
|
||||
case re:run(Room, Regexp, [{capture, none}]) of
|
||||
match ->
|
||||
AccessAdmin = mod_muc_opt:access_admin(ServerHost),
|
||||
case acl:match_rule(ServerHost, AccessAdmin, From) of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue