aboutsummaryrefslogtreecommitdiff
path: root/src/mod_service_log.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_service_log.erl')
-rw-r--r--src/mod_service_log.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_service_log.erl b/src/mod_service_log.erl
index 27ec8af44..d8c9c565e 100644
--- a/src/mod_service_log.erl
+++ b/src/mod_service_log.erl
@@ -69,7 +69,7 @@ log_user_receive({Packet, C2SState}) ->
log_packet(Packet, Host) ->
Loggers = gen_mod:get_module_opt(Host, ?MODULE, loggers),
ForwardedMsg = #message{from = jid:make(Host),
- id = randoms:get_string(),
+ id = p1_rand:get_string(),
sub_els = [#forwarded{
sub_els = [Packet]}]},
lists:foreach(