From 8749674a63e32ca3bbe78e6325f9ce45dbe2673c Mon Sep 17 00:00:00 2001 From: wish Date: Thu, 30 Mar 2023 21:59:51 +1100 Subject: [PATCH] replace deprecated rand call --- server/channelserver/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/channelserver/handlers.go b/server/channelserver/handlers.go index d22f8be3b..dc285d9aa 100644 --- a/server/channelserver/handlers.go +++ b/server/channelserver/handlers.go @@ -12,11 +12,11 @@ import ( "strings" "time" + "crypto/rand" "erupe-ce/common/byteframe" "erupe-ce/network/mhfpacket" "go.uber.org/zap" "math/bits" - "math/rand" ) // Temporary function to just return no results for a MSG_MHF_ENUMERATE* packet