mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
c6a9c30f1c
commit
bfe2545c01
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user