diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-05-24 01:28:29 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-05-24 01:28:29 +0200 |
commit | bfe2545c01808099250c67b5f83edff5e1c55416 (patch) | |
tree | f04164f1d1b7c05bdddaf616c8b0356c196232bf | |
parent | mod_push_mnesia: Apply cosmetic changes (diff) |
mod_muc_sql: Fix export to SQL
The "host" column is supposed to hold the MUC host name.
-rw-r--r-- | src/mod_muc_sql.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc_sql.erl b/src/mod_muc_sql.erl index 4812239b8..d078b64f1 100644 --- a/src/mod_muc_sql.erl +++ b/src/mod_muc_sql.erl @@ -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 -> |