summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.c')
-rw-r--r--src/map/clif.c2
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 {