From ca3f103a32221eda0929927563e4f9961472afdf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 18 Jan 2015 11:57:42 -0200 Subject: Replacing rand leftovers with the mt19937ar Signed-off-by: shennetsind --- src/map/irc-bot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/irc-bot.c') diff --git a/src/map/irc-bot.c b/src/map/irc-bot.c index bd35a9867..36c19ccbd 100644 --- a/src/map/irc-bot.c +++ b/src/map/irc-bot.c @@ -58,7 +58,7 @@ int irc_identify_timer(int tid, int64 tick, int id, intptr_t data) { if( !ircbot->isOn ) return 0; - sprintf(send_string, "USER HerculesWS%d 8 * : Hercules IRC Bridge",rand()%777); + sprintf(send_string, "USER HerculesWS%d 8 * : Hercules IRC Bridge",rnd()%777); ircbot->send(send_string); sprintf(send_string, "NICK %s", clif->hChSys->irc_nick); ircbot->send(send_string); -- cgit v1.2.3-60-g2f50