25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Merge pull request #85 from imtal/patch-1

Fix version check
This commit is contained in:
Evgeny Khramtsov 2013-07-24 06:01:45 -07:00
commit 06bb10a032

View File

@ -50,6 +50,10 @@ parse(Version) ->
less_or_equal([[]], [[]]) ->
true;
less_or_equal([[]], _Any) ->
true;
less_or_equal(_Any, [[]]) ->
false;
less_or_equal([[Left| Rl]], [[Right| Rr]]) ->
case {Left < Right, Left == Right} of
{true, _} ->