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
1 changed files with 2 additions and 2 deletions

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 ->