mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
mod_muc_sql: Fix export to SQL
The "host" column is supposed to hold the MUC host name.
This commit is contained in:
parent
c6a9c30f1c
commit
bfe2545c01
|
@ -378,7 +378,7 @@ export(_Server) ->
|
||||||
?SQL_INSERT(
|
?SQL_INSERT(
|
||||||
"muc_room",
|
"muc_room",
|
||||||
["name=%(Name)s",
|
["name=%(Name)s",
|
||||||
"host=%(Host)s",
|
"host=%(RoomHost)s",
|
||||||
"server_host=%(Host)s",
|
"server_host=%(Host)s",
|
||||||
"opts=%(SOpts)s"])];
|
"opts=%(SOpts)s"])];
|
||||||
false ->
|
false ->
|
||||||
|
@ -396,7 +396,7 @@ export(_Server) ->
|
||||||
?SQL_INSERT(
|
?SQL_INSERT(
|
||||||
"muc_registered",
|
"muc_registered",
|
||||||
["jid=%(SJID)s",
|
["jid=%(SJID)s",
|
||||||
"host=%(Host)s",
|
"host=%(RoomHost)s",
|
||||||
"server_host=%(Host)s",
|
"server_host=%(Host)s",
|
||||||
"nick=%(Nick)s"])];
|
"nick=%(Nick)s"])];
|
||||||
false ->
|
false ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user