25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

mod_muc_sql: Fix export to SQL

The "host" column is supposed to hold the MUC host name.
This commit is contained in:
Holger Weiss 2018-05-24 01:28:29 +02:00
parent c6a9c30f1c
commit bfe2545c01

View File

@ -378,7 +378,7 @@ export(_Server) ->
?SQL_INSERT(
"muc_room",
["name=%(Name)s",
"host=%(Host)s",
"host=%(RoomHost)s",
"server_host=%(Host)s",
"opts=%(SOpts)s"])];
false ->
@ -396,7 +396,7 @@ export(_Server) ->
?SQL_INSERT(
"muc_registered",
["jid=%(SJID)s",
"host=%(Host)s",
"host=%(RoomHost)s",
"server_host=%(Host)s",
"nick=%(Nick)s"])];
false ->