mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-16 22:05:29 +02:00
* src/ejd2odbc.erl: Bugfix (thanks to Badlop)
SVN Revision: 769
This commit is contained in:
parent
b444faaf89
commit
897cc13f42
|
@ -315,8 +315,14 @@ record_to_string(#roster{usj = {User, _Server, JID},
|
||||||
in -> "I";
|
in -> "I";
|
||||||
none -> "N"
|
none -> "N"
|
||||||
end,
|
end,
|
||||||
SAskMessage = ejabberd_odbc:escape(
|
SAskMessage =
|
||||||
binary_to_list(list_to_binary([AskMessage]))),
|
case catch ejabberd_odbc:escape(
|
||||||
|
binary_to_list(list_to_binary([AskMessage]))) of
|
||||||
|
{'EXIT', _Reason} ->
|
||||||
|
[];
|
||||||
|
SAM ->
|
||||||
|
SAM
|
||||||
|
end,
|
||||||
["("
|
["("
|
||||||
"'", Username, "',"
|
"'", Username, "',"
|
||||||
"'", SJID, "',"
|
"'", SJID, "',"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user