aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2005-10-18 20:13:33 +0000
committerAlexey Shchepin <alexey@process-one.net>2005-10-18 20:13:33 +0000
commitc78927ecf71b10c1677df52a9191984835c9f51a (patch)
tree238dbcd9727e76ecb6e901950872a05081fd367b /src
parent* src/gen_iq_handler.erl: Bugfix (diff)
* src/mod_roster_odbc.erl: Bugfix
SVN Revision: 423
Diffstat (limited to 'src')
-rw-r--r--src/mod_roster_odbc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_roster_odbc.erl b/src/mod_roster_odbc.erl
index 27ff539ea..75b58e8b6 100644
--- a/src/mod_roster_odbc.erl
+++ b/src/mod_roster_odbc.erl
@@ -764,7 +764,7 @@ get_jid_info(_, User, Server, JID) ->
"where username='", Username, "' "
"and jid='", SJID, "'"]) of
{selected, ["grp"], JGrps} when is_list(JGrps) ->
- JGrps;
+ [JGrp || {JGrp} <- JGrps];
_ ->
[]
end,
@@ -794,7 +794,7 @@ get_jid_info(_, User, Server, JID) ->
"where username='", Username, "' "
"and jid='", SRJID, "'"]) of
{selected, ["grp"], JGrps} when is_list(JGrps) ->
- JGrps;
+ [JGrp || {JGrp} <- JGrps];
_ ->
[]
end,