24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02:00

Fix previous commit (EJAB-1257)

This commit is contained in:
Badlop 2010-06-07 13:48:20 +02:00
parent bc1b4163a2
commit 6925f388e7

View File

@ -281,7 +281,7 @@ handle_session_start(Pid, XmppDomain, Sid, Rid, Attrs,
CHold
end
end,
Pdelay = case string:to_integer(xml:get_attr_s("process-delay",Attrs)) of
Pdelay = case string:to_integer(exmpp_xml:get_attribute_from_list_as_list(Attrs, "process-delay", "")) of
{error, _} ->
?PROCESS_DELAY_DEFAULT;
{CPdelay, _} when