Now using SecureRandom.

This commit is contained in:
Erik C. Thauvin 2018-07-13 00:29:53 -07:00
parent 8c3d850f54
commit e953f1962e

View file

@ -34,7 +34,7 @@ package net.thauvin.erik.mobibot.modules;
import net.thauvin.erik.mobibot.Mobibot;
import net.thauvin.erik.mobibot.Utils;
import java.util.Random;
import java.security.SecureRandom;
/**
* The War module.
@ -73,7 +73,7 @@ final public class War extends AbstractModule {
*/
@Override
public void commandResponse(final Mobibot bot, final String sender, final String args, final boolean isPrivate) {
final Random r = new Random();
final SecureRandom r = new SecureRandom();
int i;
int y;