diff options
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/adminproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c index ed40b70..69eb9c3 100644 --- a/FICS/adminproc.c +++ b/FICS/adminproc.c @@ -932,7 +932,7 @@ com_addplayer(int p, param_list param) if (strcmp(newemail, "none")) { for (i = 0; i < PASSLEN; i++) - password[i] = 'a' + rand() % 26; + password[i] = ('a' + rand() % 26); password[i] = '\0'; salt[0] = ('a' + rand() % 26); |