summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.c
diff options
context:
space:
mode:
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);