mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-08 19:25:25 +01:00
Small simplification (#185)
This commit is contained in:
parent
d77f42e4be
commit
9e7d4b0122
1 changed files with 3 additions and 3 deletions
|
@ -796,15 +796,15 @@ static int internal_getscore(char *str)
|
|||
|
||||
if (digits >= 5)
|
||||
{
|
||||
score += 5 + (digits - 5);
|
||||
score += digits;
|
||||
}
|
||||
if (vowels >= 4)
|
||||
{
|
||||
score += 4 + (vowels - 4);
|
||||
score += vowels;
|
||||
}
|
||||
if (consonants >= 4)
|
||||
{
|
||||
score += 4 + (consonants - 4);
|
||||
score += consonants;
|
||||
}
|
||||
|
||||
for (t=triples; t; t=t->next)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue