summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 30cc268b..a2cb2733 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -3041,7 +3041,7 @@ FindAngel(void){
if (nAngel == 0)
return 0;
- choose = rand() % nAngel + 1;
+ choose = random() % nAngel + 1;
j = SHM->currsorted;
for (i = 0; i < SHM->UTMPnumber && choose; ++i)
if ((SHM->uinfo[SHM->sorted[j][0][i]].userlevel & PERM_ANGEL)