Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adapt to 18.x time api changes

  • Loading branch information...
commit c2f63673bdae209e4e71341a788094ffb9c2726c 1 parent a91201e
@norton norton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/unit/irc_plugin.erl
View
2  test/unit/irc_plugin.erl
@@ -203,7 +203,7 @@ random_nick(N) ->
[$a + random:uniform(26) - 1|random_nick(N-1)].
new_seed() ->
- {_,_,X} = erlang:now(),
+ {_,_,X} = os:timestamp(),
{H,M,S} = time(),
H1 = H * X rem 32767,
M1 = M * X rem 32767,
Please sign in to comment.
Something went wrong with that request. Please try again.