summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-01-18 11:57:42 -0200
committershennetsind <ind@henn.et>2015-01-18 11:57:42 -0200
commitca3f103a32221eda0929927563e4f9961472afdf (patch)
tree515c6310199ae4f5ac60a35b57332cdcd52dcf61 /src/map/irc-bot.c
parentdf961e808a5256031ad3697650ab5f4ba5ddbe16 (diff)
downloadhercules-ca3f103a32221eda0929927563e4f9961472afdf.tar.gz
hercules-ca3f103a32221eda0929927563e4f9961472afdf.tar.bz2
hercules-ca3f103a32221eda0929927563e4f9961472afdf.tar.xz
hercules-ca3f103a32221eda0929927563e4f9961472afdf.zip
Replacing rand leftovers with the mt19937ar
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/irc-bot.c')
-rw-r--r--src/map/irc-bot.c2
1 files changed, 1 insertions, 1 deletions
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);