diff options
author | shennetsind <ind@henn.et> | 2015-01-18 11:57:42 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2015-01-18 11:57:42 -0200 |
commit | ca3f103a32221eda0929927563e4f9961472afdf (patch) | |
tree | 515c6310199ae4f5ac60a35b57332cdcd52dcf61 /src/map/clif.c | |
parent | df961e808a5256031ad3697650ab5f4ba5ddbe16 (diff) | |
download | hercules-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/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 57e01278b..4c6b7d2f9 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2756,7 +2756,7 @@ void read_channels_config(void) { } if( libconfig->setting_lookup_string(settings, "irc_channel_nick", &irc_nick) ) { if( strcmpi(irc_nick,"Hercules_chSysBot") == 0 ) { - sprintf(clif->hChSys->irc_nick, "Hercules_chSysBot%d",rand()%777); + sprintf(clif->hChSys->irc_nick, "Hercules_chSysBot%d",rnd()%777); } else safestrncpy(clif->hChSys->irc_nick, irc_nick, 40); } else { |