Fix issue with creating HostMatch in mod_mam_sql
This fixes issue #2844
This commit is contained in:
parent
5c69122bbe
commit
7eef966a04
|
@ -410,7 +410,7 @@ make_sql_query(User, LServer, MAMQuery, RSM, ExtraUsernames) ->
|
|||
|
||||
HostMatch = case ejabberd_sql:use_new_schema() of
|
||||
true ->
|
||||
[<<" and server_host='", SServer, "'">>];
|
||||
[<<" and server_host='", SServer/binary, "'">>];
|
||||
_ ->
|
||||
<<"">>
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue